]> nmode's Git Repositories - signal-cli/blobdiff - lib/build.gradle.kts
Only store profile keys for group history if none is known yet
[signal-cli] / lib / build.gradle.kts
index dd765cbacc77ecf6f7cb515dc59de1e62117cfa9..c8f22f7cee98cebcccb7174345579ce726f21d29 100644 (file)
@@ -4,8 +4,12 @@ plugins {
 }
 
 java {
-    sourceCompatibility = JavaVersion.VERSION_17
-    targetCompatibility = JavaVersion.VERSION_17
+    sourceCompatibility = JavaVersion.VERSION_21
+    targetCompatibility = JavaVersion.VERSION_21
+
+    toolchain {
+        languageVersion.set(JavaLanguageVersion.of(21))
+    }
 }
 
 val libsignalClientPath = project.findProperty("libsignal_client_path")?.toString()
@@ -25,7 +29,8 @@ dependencies {
     implementation(libs.sqlite)
     implementation(libs.hikari)
 
-    testImplementation(libs.junit)
+    testImplementation(libs.junit.jupiter)
+    testRuntimeOnly(libs.junit.launcher)
 }
 
 tasks.named<Test>("test") {