Skip to content

Commit

Permalink
issue #2: set kotlin jvmTarget to prevent warning on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfmnk committed May 28, 2022
1 parent ef7825e commit 8abc858
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
`kotlin-dsl`
}
Expand All @@ -11,4 +13,8 @@ java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "11"
}

0 comments on commit 8abc858

Please sign in to comment.