Merging master into testing/no-hard-org-json in preperation for back merge
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow" version "7.1.2"
|
id "com.github.johnrengelman.shadow" version "8.1.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
architectury {
|
architectury {
|
||||||
@@ -35,6 +35,7 @@ dependencies {
|
|||||||
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
|
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
|
||||||
|
|
||||||
include("org.json:json:${json_version}")
|
include("org.json:json:${json_version}")
|
||||||
|
shadowCommon("org.json:json:${json_version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
@@ -48,6 +49,7 @@ processResources {
|
|||||||
shadowJar {
|
shadowJar {
|
||||||
configurations = [project.configurations.shadowCommon]
|
configurations = [project.configurations.shadowCommon]
|
||||||
archiveClassifier.set("dev-shadow")
|
archiveClassifier.set("dev-shadow")
|
||||||
|
relocate 'org.json', 'speedometer.shaded.org.json'
|
||||||
}
|
}
|
||||||
|
|
||||||
remapJar {
|
remapJar {
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ repositories{
|
|||||||
url = 'https://maven.neoforged.net/releases'
|
url = 'https://maven.neoforged.net/releases'
|
||||||
}
|
}
|
||||||
maven { url "https://maven.shedaniel.me/" }
|
maven { url "https://maven.shedaniel.me/" }
|
||||||
|
maven {
|
||||||
|
name "CreeperHost"
|
||||||
|
url "https://maven.creeperhost.net"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
@@ -34,6 +38,7 @@ dependencies {
|
|||||||
|
|
||||||
forgeRuntimeLibrary "org.json:json:${json_version}"
|
forgeRuntimeLibrary "org.json:json:${json_version}"
|
||||||
include("org.json:json:${json_version}")
|
include("org.json:json:${json_version}")
|
||||||
|
shadowCommon("org.json:json:${json_version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
@@ -49,6 +54,8 @@ shadowJar {
|
|||||||
|
|
||||||
configurations = [project.configurations.shadowCommon]
|
configurations = [project.configurations.shadowCommon]
|
||||||
archiveClassifier.set("dev-shadow")
|
archiveClassifier.set("dev-shadow")
|
||||||
|
|
||||||
|
relocate 'org.json', 'speedometer.shaded.org.json'
|
||||||
}
|
}
|
||||||
|
|
||||||
remapJar {
|
remapJar {
|
||||||
|
|||||||
Reference in New Issue
Block a user