Skip to content

Commit

Permalink
switched from java 11 to java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Attanasio committed Nov 6, 2024
1 parent bd8835a commit e421474
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ allprojects {

plugins.withId("org.jetbrains.kotlin.multiplatform") {
configure<KotlinMultiplatformExtension> {
jvmToolchain(11)
jvmToolchain(JavaLanguageVersion.of(8).asInt())
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}
}
plugins.withId("org.jetbrains.kotlin.jvm") {
configure<KotlinJvmProjectExtension> {
jvmToolchain(11)
jvmToolchain(JavaLanguageVersion.of(8).asInt())
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}
}
plugins.withId("org.jetbrains.kotlin.android") {
configure<KotlinAndroidProjectExtension> {
jvmToolchain(11)
jvmToolchain(JavaLanguageVersion.of(8).asInt())
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
Expand Down
5 changes: 2 additions & 3 deletions paging-compose-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ android {
minSdk = 21
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
kotlin {
jvmToolchain(JavaLanguageVersion.of(8).asInt())
}
}

Expand Down

0 comments on commit e421474

Please sign in to comment.