Removed hard coded org.json dependency

Added gradle dependancy for org.json
This commit is contained in:
2025-06-22 23:10:01 +02:00
parent 0fdab6874c
commit 872fbe2ef9
26 changed files with 9 additions and 9149 deletions

View File

@@ -31,6 +31,8 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionNeoForge")) { transitive = false }
forgeRuntimeLibrary "org.json:json:${json_version}"
}
processResources {
@@ -44,7 +46,6 @@ processResources {
shadowJar {
exclude "fabric.mod.json"
configurations = [project.configurations.shadowCommon]
archiveClassifier.set("dev-shadow")
}
@@ -71,6 +72,8 @@ components.java {
}
}
publishing {
publications {
mavenForge(MavenPublication) {