diff --git a/build.gradle.kts b/build.gradle.kts index 3befb79..0e4ce5c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,7 +23,7 @@ allprojects { kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi" kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.FlowPreview" - kotlinOptions.jvmTarget = "1.8" + kotlinOptions.jvmTarget = "11" } project.version = "0.1.0" diff --git a/buildSrc/src/main/kotlin/shared-android.gradle.kts b/buildSrc/src/main/kotlin/shared-android.gradle.kts index b069ee0..a5135f0 100644 --- a/buildSrc/src/main/kotlin/shared-android.gradle.kts +++ b/buildSrc/src/main/kotlin/shared-android.gradle.kts @@ -36,8 +36,10 @@ android { @Suppress("UnstableApiUsage") compileOptions { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" } }