Skip to content

Commit de992c3

Browse files
authored
Merge pull request #392 from functionaljava/auto-mod-name
Basic JPMS (modules) support through 'Automatic-Module-Name'
2 parents fcff9d1 + 5769934 commit de992c3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,10 @@ configure(subprojects.findAll { it.name != "props-core" }) {
169169
instruction 'Signature-Version', project.fjVersion
170170
instruction 'Bundle-ActivationPolicy', 'lazy'
171171
instruction 'Bundle-Vendor', 'functionaljava.org'
172-
if(project.name != "core") {
173-
instruction 'Require-Bundle', 'org.functionaljava;bundle-version="'+project.fjBaseVersion+'"'
174-
}
172+
if(project.name != "core") {
173+
instruction 'Require-Bundle', 'org.functionaljava;bundle-version="'+project.fjBaseVersion+'"'
174+
}
175+
instruction 'Automatic-Module-Name', "functionaljava${project.name == 'core' ? '' : ".$project.name"}"
175176
}
176177
}
177178

0 commit comments

Comments
 (0)