From 6027413820f4a67ab8aa4365b390ace47c6914fe Mon Sep 17 00:00:00 2001 From: Dan <46821332+nsadeveloper789@users.noreply.github.com> Date: Tue, 31 Oct 2023 14:14:50 -0400 Subject: [PATCH] GP-3977: Fix dependency resolution for nodepJar in Gradle 8. --- gradle/debugger/hasNodepJar.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/debugger/hasNodepJar.gradle b/gradle/debugger/hasNodepJar.gradle index a309d000d2..edaea71ad1 100644 --- a/gradle/debugger/hasNodepJar.gradle +++ b/gradle/debugger/hasNodepJar.gradle @@ -25,9 +25,9 @@ def boolean filterJar(File jarfile) { } task configureNodepJar { - dependsOn(configurations.default) + dependsOn(configurations.runtimeClasspath) doLast { - configurations.default.files.forEach { jar -> + configurations.runtimeClasspath.files.forEach { jar -> if (filterJar(jar)) { nodepJar.from(zipTree(jar)) { // The real solution here is probably to sort out the dependency graph