From f9a7d8aeadde853b1453bf7b33c7cb8cba8ddd2e Mon Sep 17 00:00:00 2001 From: JacksonAbney Date: Sat, 26 Apr 2025 13:15:51 -0800 Subject: [PATCH] Actual fix - why is doing things before gradle resolves dependencies so complicated? --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index bebb64a8..57c6b69e 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ apply plugin: "java" jarJar.enable() gradle.projectsEvaluated { - configurations.first().incoming.beforeResolve { + project.configurations.named("jarJar") { def nativeLibsDir = file("src/main/resources/natives") // native networking library def nativeNetworkingBaseUrl = "https://github.com/${native_networking_repo}/releases/download/${network_lib_version}/"