Pass the image dir directly instead of getting it from jlink
MODIFY
dd-smoke-tests/java9-modules/java9-modules.gradle
dd-smoke-tests/java9-modules/java9-modules.gradle
@@ -31,7 +31,7 @@ tasks.withType(BaseTask).each {
test {
dependsOn tasks.jlink
- jvmArgs "-Ddatadog.smoketest.module.image=${jlink.imageDir.get()}"
+ jvmArgs "-Ddatadog.smoketest.module.image=${buildDir}/image"
}
dependencies {

Pass the image dir directly instead of getting it from jlink