Skip to content

Commit

Permalink
set min and target jvm to 8 (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
RBusarow committed Nov 1, 2020
1 parent d8d1868 commit 7631a6a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,17 @@ subprojects {
}
}

allprojects {
// force Java 8 source when building java-only artifacts. This is different than the Kotlin jvm target.
pluginManager.withPlugin("java") {
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
}


subprojects {
tasks.withType<KotlinCompile>()
.configureEach {
Expand Down

0 comments on commit 7631a6a

Please sign in to comment.