fix reachability metadata drift

This commit is contained in:
Gregor Lohaus
2026-05-29 10:31:44 +02:00
parent eeac1d20d6
commit 482305a1af
5 changed files with 156 additions and 2 deletions

View File

@@ -14,6 +14,16 @@ java {
withSourcesJar()
}
val graalvmHome = providers.environmentVariable("GRAALVM_HOME")
.orElse(providers.systemProperty("java.home"))
val graalNativeImageJmod = graalvmHome.map {
file("$it/jmods/org.graalvm.nativeimage.jmod")
}
dependencies {
compileOnly(files(graalNativeImageJmod))
}
tasks.withType<JavaCompile>().configureEach {
options.release.set(22)
}