X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/dda23e76ac4ed8d88f23c9f39b7110460a8a1ed5..a1d552698a8bbadc70af9793b5bc5ea5a49b1a42:/build.gradle.kts diff --git a/build.gradle.kts b/build.gradle.kts index 48606a8d..523e2980 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,17 +3,19 @@ plugins { application eclipse `check-lib-versions` - id("org.graalvm.buildtools.native") version "0.10.1" + id("org.graalvm.buildtools.native") version "0.10.3" } -version = "0.13.2" +version = "0.13.9-SNAPSHOT" java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 - toolchain { - languageVersion.set(JavaLanguageVersion.of(21)) + if (!JavaVersion.current().isCompatibleWith(targetCompatibility)) { + toolchain { + languageVersion.set(JavaLanguageVersion.of(targetCompatibility.majorVersion)) + } } }