X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/dda23e76ac4ed8d88f23c9f39b7110460a8a1ed5..68b7416e572ce36f27a38d2fc7e195cb508cf00d:/build.gradle.kts diff --git a/build.gradle.kts b/build.gradle.kts index 48606a8d..e491dd7d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,17 +3,22 @@ plugins { application eclipse `check-lib-versions` - id("org.graalvm.buildtools.native") version "0.10.1" + id("org.graalvm.buildtools.native") version "0.10.5" } -version = "0.13.2" +allprojects { + group = "org.asamk" + version = "0.13.14-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)) + } } } @@ -49,7 +54,7 @@ dependencies { implementation(libs.slf4j.api) implementation(libs.slf4j.jul) implementation(libs.logback) - implementation(project(":lib")) + implementation(project(":libsignal-cli")) } configurations { @@ -78,7 +83,7 @@ tasks.withType { } } -task("fatJar", type = Jar::class) { +tasks.register("fatJar", type = Jar::class) { archiveBaseName.set("${project.name}-fat") exclude( "META-INF/*.SF",