Front-port 1.19 build script change

This commit is contained in:
TomTheFurry
2022-06-13 05:47:19 +00:00
parent 93f2605c6d
commit c2feac4642
3 changed files with 30 additions and 7 deletions
+7 -2
View File
@@ -48,8 +48,9 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowMe(project(path: ":common", configuration: "transformProductionForge")) { transitive = false }
// forgeDependencies(project(":core")) { transitive false }
// Ran's scuffed 1.19 stuff
shadowMe files(project(":core").file("build/libs/DistantHorizons-${rootProject.mod_version}.jar"))
}
processResources {
@@ -58,6 +59,10 @@ processResources {
dependsOn(copyCommonResources)
}
// Ran's scuffed 1.19 stuff
jar.dependsOn(project(":core").remapJar)
remapSourcesJar.dependsOn(project(":core").remapJar)
shadowJar {
// Remove the fabric stuff from forge
dependencies {