Skip to content

Commit 2cec78e

Browse files
Add debug classpath logging to sofarpc latestDepTest compilation
1 parent ea98882 commit 2cec78e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • dd-java-agent/instrumentation/sofarpc/sofarpc-5.0

dd-java-agent/instrumentation/sofarpc/sofarpc-5.0/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,13 @@ dependencies {
3333

3434
latestDepTestImplementation group: "com.alipay.sofa", name: "sofa-rpc-all", version: "+"
3535
}
36+
37+
tasks.named('compileLatestDepTestGroovy') {
38+
doFirst {
39+
println "=== DEBUG latestDepTestCompileClasspath ==="
40+
classpath.files.findAll { it.name.contains('sofa') }.each { f ->
41+
println " sofa artifact: ${f.name} exists=${f.exists()} size=${f.exists() ? f.size() : 'MISSING'}"
42+
}
43+
println "=== END DEBUG ==="
44+
}
45+
}

0 commit comments

Comments
 (0)