Klasse ExtraModuleInfoPluginExtension

java.lang.Object
org.anwait.gradle.java.extramoduleinfo.ExtraModuleInfoPluginExtension

public class ExtraModuleInfoPluginExtension extends Object
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.
  • Konstruktordetails

    • ExtraModuleInfoPluginExtension

      public ExtraModuleInfoPluginExtension()
  • Methodendetails

    • module

      public void module(String jarName, String moduleName, String moduleVersion)
      Add full module information for a given Jar file.
    • 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

      public void automaticModule(String jarName, String moduleName)
      Add only an automatic module name to a given jar file.
    • automaticModule

      public void automaticModule(String jarName)
    • getModuleInfo

      protected Map<String, ModuleInfo> getModuleInfo()
    • getAutomaticModules

      protected Map<String,String> getAutomaticModules()