Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-3977: Fix dependency resolution for nodepJar in Gradle 8.

Dan6027413820f4
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