@@ -19,36 +19,36 @@ public abstract class ExtraModuleInfoPluginExtension {
1919 /**
2020 * Add full module information for a given Jar file.
2121 */
22- public void module (String jarName , String moduleName , String moduleVersion ) {
23- module (jarName , moduleName , moduleVersion , null );
22+ public void module (String identifier , String moduleName , String moduleVersion ) {
23+ module (identifier , moduleName , moduleVersion , null );
2424 }
2525
2626 /**
2727 * Add full module information, including exported packages and dependencies, for a given Jar file.
2828 */
29- public void module (String jarName , String moduleName , String moduleVersion , @ Nullable Action <? super ModuleInfo > conf ) {
30- ModuleInfo moduleInfo = new ModuleInfo (jarName , moduleName , moduleVersion );
29+ public void module (String identifier , String moduleName , String moduleVersion , @ Nullable Action <? super ModuleInfo > conf ) {
30+ ModuleInfo moduleInfo = new ModuleInfo (identifier , moduleName , moduleVersion );
3131 if (conf != null ) {
3232 conf .execute (moduleInfo );
3333 }
34- this .getModuleSpecs ().put (jarName , moduleInfo );
34+ this .getModuleSpecs ().put (identifier , moduleInfo );
3535 }
3636
3737 /**
3838 * Add only an automatic module name to a given jar file.
3939 */
40- public void automaticModule (String jarName , String moduleName ) {
41- automaticModule (jarName , moduleName , null );
40+ public void automaticModule (String identifier , String moduleName ) {
41+ automaticModule (identifier , moduleName , null );
4242 }
4343
4444 /**
4545 * Add only an automatic module name to a given jar file.
4646 */
47- public void automaticModule (String jarName , String moduleName , @ Nullable Action <? super ModuleSpec > conf ) {
48- AutomaticModuleName automaticModuleName = new AutomaticModuleName (jarName , moduleName );
47+ public void automaticModule (String identifier , String moduleName , @ Nullable Action <? super ModuleSpec > conf ) {
48+ AutomaticModuleName automaticModuleName = new AutomaticModuleName (identifier , moduleName );
4949 if (conf != null ) {
5050 conf .execute (automaticModuleName );
5151 }
52- getModuleSpecs ().put (jarName , automaticModuleName );
52+ getModuleSpecs ().put (identifier , automaticModuleName );
5353 }
5454}
0 commit comments