Switch to Java 21

This commit is contained in:
AsamK 2023-09-30 22:38:24 +02:00
parent 895740755d
commit 80c1a6d2af
9 changed files with 26 additions and 11 deletions

View 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()