diff --git a/build.gradle.kts b/build.gradle.kts index b56ab29..8dfdeec 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "org.quiltmc" -version = "0.2.0" +version = "0.2.1" repositories { mavenCentral() diff --git a/gson/build.gradle.kts b/gson/build.gradle.kts index e7004ff..28561ed 100644 --- a/gson/build.gradle.kts +++ b/gson/build.gradle.kts @@ -17,7 +17,11 @@ java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } - +tasks.jar { + manifest { + attributes(Pair("Automatic-Module-Name", "org.quiltmc.parsers.gson")) + } +} dependencies { api(project(":json")) api("com.google.code.gson:gson:2.10.1") diff --git a/json/build.gradle.kts b/json/build.gradle.kts index 8335ee0..1c2d026 100644 --- a/json/build.gradle.kts +++ b/json/build.gradle.kts @@ -18,6 +18,11 @@ java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } +tasks.jar { + manifest { + attributes(Pair("Automatic-Module-Name", "org.quiltmc.parsers.json")) + } +} dependencies { implementation("org.jetbrains:annotations:24.0.1") }