]> nmode's Git Repositories - signal-cli/blobdiff - build.gradle.kts
Create account entropy pool instead of master key
[signal-cli] / build.gradle.kts
index e9f54923e6d0fccaea43ace4fbdb6f8b4635e0ea..9d4724c0673e96e42a2594ad5fc9c74b3e0223e0 100644 (file)
@@ -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.1"
+version = "0.13.11-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))
+        }
     }
 }