Skip to content

Commit

Permalink
feat: Bump source and target compatibility to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Nov 18, 2024
1 parent 16ee9e0 commit 0f42166
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ abstract class ExtensionPlugin : Plugin<Project> {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

this as ExtensionAware
this.extensions.configure<KotlinJvmOptions>("kotlinOptions") { options ->
options.jvmTarget = JavaVersion.VERSION_11.toString()
options.jvmTarget = JavaVersion.VERSION_17.toString()
}
}
}
Expand Down

0 comments on commit 0f42166

Please sign in to comment.