Author: Adam Evyčędo <git@apiote.xyz>
set java 21
app/build.gradle.kts | 4 ++-- fruchtfleisch/build.gradle.kts | 4 ++--
diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2048280d5c542d1f7157d718aa9dc8d64c8fb584..c52a049409bc20e9edfcedfb699bcc38a1e3434f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -39,8 +39,8 @@ resValue("string", "applicationId", applicationId) } compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 isCoreLibraryDesugaringEnabled = true } diff --git a/fruchtfleisch/build.gradle.kts b/fruchtfleisch/build.gradle.kts index 014557871091925f8b0568606aea1e74ec7837d9..df25428f756486a6fc35db26cf06914a5427ee12 100644 --- a/fruchtfleisch/build.gradle.kts +++ b/fruchtfleisch/build.gradle.kts @@ -15,8 +15,8 @@ //implementation("org.jetbrains.kotlin:kotlin-reflect:1.8.10") } java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } tasks.withType<Test> {