Skip to content

Commit

Permalink
Set compatibility with Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Trotsenko committed Jun 29, 2023
1 parent a155b56 commit 135c6b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kotpass/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ repositories {

tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
freeCompilerArgs += listOf("-Xopt-in=kotlin.RequiresOptIn")
}
}

java {
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

tasks.withType<Jar> {
Expand Down

0 comments on commit 135c6b3

Please sign in to comment.