Skip to content

Commit

Permalink
Declare an Java9 JPMS Automatic-Module-Name for agent and junit
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbasle committed May 6, 2019
1 parent 0596c50 commit 6a7c8d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ shadowJar {
attributes('Can-Retransform-Classes': 'true')
attributes('Can-Set-Native-Method-Prefix': 'true')
attributes('Can-Redefine-Classes': 'true')
attributes('Automatic-Module-Name': 'reactor.blockhound')
}

exclude 'module-info.class'
Expand Down
6 changes: 6 additions & 0 deletions junit-platform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ task sourcesJar(type: Jar) {
from sourceSets.main.allJava
}

jar {
manifest {
attributes 'Automatic-Module-Name': 'reactor.blockhound.junit'
}
}

publishing {
publications {
mavenJava(MavenPublication) { publication ->
Expand Down

0 comments on commit 6a7c8d6

Please sign in to comment.