Pass the image dir directly instead of getting it from jlink
@@ -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 {
