Author: Adam Evyčędo <git@apiote.xyz>
set java version 17
app/build.gradle.kts | 4 ++-- fruchtfleisch/build.gradle.kts | 6 +++---
diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7f86f61f618002f8ad0f054cf998b1ef07de87e2..91096abf593d7294f7fb9a4c254b0b069b7e539e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -39,8 +39,8 @@ resValue("string", "applicationId", applicationId) } compileOptions { - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 isCoreLibraryDesugaringEnabled = true } diff --git a/fruchtfleisch/build.gradle.kts b/fruchtfleisch/build.gradle.kts index 51c8ff7f1f4c9ef0671ad822b9866310af7dbbb7..b6ce350dd6605308010904f94e74f8a466ee568d 100644 --- a/fruchtfleisch/build.gradle.kts +++ b/fruchtfleisch/build.gradle.kts @@ -15,10 +15,10 @@ //implementation("org.jetbrains.kotlin:kotlin-reflect:1.8.10") } java { - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } tasks.withType<Test> { useJUnitPlatform() -} \ No newline at end of file +}