Skip to content

Commit

Permalink
Add Automatic-Module-Name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGlitch76 committed Jul 15, 2023
1 parent 1f7a3dc commit b05ac3a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "org.quiltmc"
version = "0.2.0"
version = "0.2.1"

repositories {
mavenCentral()
Expand Down
6 changes: 5 additions & 1 deletion gson/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
5 changes: 5 additions & 0 deletions json/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit b05ac3a

Please sign in to comment.