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

This commit is contained in:
Dan 2023-10-31 14:14:50 -04:00
parent 0fb2014df1
commit 6027413820

View File

@ -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