Skip to content

Commit

Permalink
Added Automatic-Module-Name to JAR manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurgen committed Feb 19, 2020
1 parent d6d6e71 commit beeb5ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion richtextfx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jar {
'Specification-Version': project.specificationVersion,
'Implementation-Title': 'RichTextFX',
'Implementation-Version': project.version,
'Automatic-Module-Name': 'org.fxmisc.richtext',
'Multi-Release': 'true')
}
}
Expand Down Expand Up @@ -248,7 +249,7 @@ uploadArchives.onlyIf { doUploadArchives }

task fatJar(type: Jar, dependsOn: classes) {
appendix = 'fat'
manifest.attributes( 'Multi-Release': 'true' )
manifest.attributes( 'Automatic-Module-Name': 'org.fxmisc.richtext', 'Multi-Release': 'true' )
into 'META-INF/versions/9', { from sourceSets.java9.output }
from sourceSets.main.output
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
Expand Down

0 comments on commit beeb5ea

Please sign in to comment.