diff --git a/agent/build.gradle b/agent/build.gradle index aea069b..35a1fc4 100644 --- a/agent/build.gradle +++ b/agent/build.gradle @@ -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' diff --git a/junit-platform/build.gradle b/junit-platform/build.gradle index b00cf77..fafc67b 100644 --- a/junit-platform/build.gradle +++ b/junit-platform/build.gradle @@ -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 ->