Skip to content

Commit

Permalink
Declare an Java9 JPMS Automatic-Module-Name for core and test (#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbasle committed May 6, 2019
1 parent 2a137fa commit f8a2dac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reactor-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ if (!JavaVersion.current().isJava9Compatible()) {
jar {
manifest {
attributes 'Implementation-Title': 'reactor-core',
'Implementation-Version': version
'Implementation-Version': version,
'Automatic-Module-Name': 'reactor.core'
instruction 'Import-Package', bundleImportPackages.join(',')
}
}
Expand Down
8 changes: 8 additions & 0 deletions reactor-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,12 @@ artifacts {
archives kdocZip
}

jar {
manifest {
attributes 'Implementation-Title': 'reactor-test',
'Implementation-Version': version,
'Automatic-Module-Name': 'reactor.test'
}
}

jar.finalizedBy(downloadBaseline)

0 comments on commit f8a2dac

Please sign in to comment.