From f6f7c1702a2985311a6b3d8b97e752f5b0f7cb9d Mon Sep 17 00:00:00 2001 From: Ran <43445785+RanCraftPlayz@users.noreply.github.com> Date: Fri, 16 Sep 2022 10:58:42 +0600 Subject: [PATCH] Hopefully fix the API shading --- build.gradle | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index e935d3dff..7ac7165a1 100644 --- a/build.gradle +++ b/build.gradle @@ -131,11 +131,6 @@ forgix { jarLocation = "build/libs/DistantHorizons-${rootProject.versionStr}.jar" } - custom { - projectName = "api" - jarLocation = "build/libs/DistantHorizons-API-${rootProject.versionStr}.jar" - } - removeDuplicate "com.seibel.lod.api" removeDuplicate "com.seibel.lod.core" } @@ -248,7 +243,7 @@ subprojects { p -> // Add the api if (p != project(":api")) { - implementation(project(":api")) { + customModule(project(":api")) { // Remove Junit test libraries exclude group: "org.junit.jupiter", module: "junit-jupiter" exclude group: "org.junit.jupiter", module: "junit-jupiter-engine"