Skip to content

Commit

Permalink
Upgrade JVM source/target compatibility to 11 (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
AfigAliyev committed Mar 6, 2023
1 parent 1b6dfbd commit 07cea09
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ internal fun Project.configureKotlinAndroid(commonExtension: CommonExtension<*,
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
isCoreLibraryDesugaringEnabled = true
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
jvmTarget = JavaVersion.VERSION_11.toString()
}

dependencies.add("coreLibraryDesugaring", libs.desugar.jdk.libs)
Expand Down

0 comments on commit 07cea09

Please sign in to comment.