From 328f760b528b69f48fd66e0f7bb4a706efee538b Mon Sep 17 00:00:00 2001 From: MerchantPug <81167232+MerchantPug@users.noreply.github.com> Date: Wed, 4 Dec 2024 07:47:10 +1100 Subject: [PATCH 1/2] Fix #145 (Salandora/Porting-Lib@9a686cd74bf3b330ae4ca09fbc2e5387759d77d6) --- .../porting_lib_build/PortingLibExtension.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/PortingLibExtension.java b/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/PortingLibExtension.java index 84ba4167..7c2b56f1 100644 --- a/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/PortingLibExtension.java +++ b/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/PortingLibExtension.java @@ -31,7 +31,7 @@ public void addModuleDependency(String name) { "configuration", "namedElements" )); dependencies.add("api", dependency); - dependencies.add("include", dependency); + dependencies.add("include", dependencies.project(Map.of("path", ":" + name))); if (name.equals("mixin_extensions")) { // special case, also an AP From 0fd611edd470c025306991e429040679c9d3ec1d Mon Sep 17 00:00:00 2001 From: MerchantPug <81167232+MerchantPug@users.noreply.github.com> Date: Sat, 7 Dec 2024 05:51:55 +1100 Subject: [PATCH 2/2] Fix full jar not JiJing correctly. --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index fba094df..4e22f1b6 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,8 @@ String versionNumber = providers.provider { dependencies { subprojects.forEach { - api(include(project(path: ":$it.name", configuration: "namedElements"))) + api(project(path: ":$it.name", configuration: "namedElements")) + include(project(":$it.name")) } }