From f0956c0cdb19046d083b4fbc5ae1e0d455b71782 Mon Sep 17 00:00:00 2001 From: coolGi Date: Sun, 12 Feb 2023 13:03:25 +1030 Subject: [PATCH] Fixed fabric build --- coreSubProjects | 2 +- fabric/build.gradle | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 3efeea898..5ec91475a 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 3efeea89879acb1082dc2db0184187356df8bdf5 +Subproject commit 5ec91475a4f0301d06bcb99fadf7f21e252d99ac diff --git a/fabric/build.gradle b/fabric/build.gradle index 6d90651aa..22cfcc4b0 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -95,12 +95,16 @@ dependencies { common(project(path: ":common", configuration: "namedElements")) { transitive false } shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false } +// shadowMe files(project(":common").file("build/libs/DistantHorizons-${rootProject.mod_version}-transformProductionFabric.jar")) + shadowMe files(project(":core").file("build/libs/DistantHorizons-${rootProject.mod_version}.jar")) + shadowMe files(project(":api").file("build/libs/DistantHorizons-API-${rootProject.mod_version}.jar")) } shadowJar { exclude "architectury.common.json" configurations = [project.configurations.shadowCommon, project.configurations.shadowMe, project.configurations.customModule] + relocate 'com.seibel.lod.common', 'fabric.com.seibel.lod.common' // Compression relocate 'org.tukaani', 'distanthorizons.libraries.tukaani'