Author: Adam <git@apiote.xyz>
set java 17
app/build.gradle.kts | 4 ++-- fruchtfleisch/build.gradle.kts | 4 ++--
diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 14ae30d07aba7f11774548ce2cf91f69b4d641db..8b29d375d964387398785cac9f4b90775b8a8d79 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 df25428f756486a6fc35db26cf06914a5427ee12..014557871091925f8b0568606aea1e74ec7837d9 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_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } tasks.withType<Test> {