Klasse ExtraModuleInfoPluginExtension
java.lang.Object
org.anwait.gradle.java.extramoduleinfo.ExtraModuleInfoPluginExtension
A data class to collect all the module information we want to add.
Here the class is used as extension that can be configured in the build script
and as input to the ExtraModuleInfoTransform that add the information to Jars.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidautomaticModule(String jarName) voidautomaticModule(String jarName, String moduleName) Add only an automatic module name to a given jar file.protected Map<String, ModuleInfo> voidAdd full module information for a given Jar file.voidmodule(String jarName, String moduleName, String moduleVersion, org.gradle.api.Action<? super ModuleInfo> conf) Add full module information, including exported packages and dependencies, for a given Jar file.
-
Konstruktordetails
-
ExtraModuleInfoPluginExtension
public ExtraModuleInfoPluginExtension()
-
-
Methodendetails
-
module
-
module
public void module(String jarName, String moduleName, String moduleVersion, @Nullable org.gradle.api.Action<? super ModuleInfo> conf) Add full module information, including exported packages and dependencies, for a given Jar file. -
automaticModule
-
automaticModule
-
getModuleInfo
-
getAutomaticModules
-