diff --git a/build.gradle b/build.gradle index 1a5153bb9a6af33f54da80d6a89c952c8bc7be31..1abc3e3508c212712b79dac52aaf82accdad9c3f 100644 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,10 @@ processResources { jar { manifest { - attributes 'Main-Class': mainClassName + attributes([ + 'Main-Class': mainClassName, + 'Automatic-Module-Name': 'org.sablecc.sablecc', + ]) } } diff --git a/sablecc-runtime/build.gradle b/sablecc-runtime/build.gradle index 2534e9b3b66577a8d752e0c9ad2a5db75e49d2d7..9fb2145f1fd89f80b1a0c1299dfaf5b4843e3a06 100644 --- a/sablecc-runtime/build.gradle +++ b/sablecc-runtime/build.gradle @@ -10,6 +10,14 @@ java { withJavadocJar() } +jar { + manifest { + attributes([ + "Automatic-Module-Name": "de.hhu.stups.sablecc.patch", + ]) + } +} + publishing { publications { mavenJava(MavenPublication) {