Skip to content

Commit

Permalink
Set Kotlin DSL jvmtarget to 11 (#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejG604 authored and PawelLipski committed Aug 1, 2022
1 parent 44d4eef commit f800550
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
Expand Up @@ -43,3 +43,9 @@ project.tasks.withType<KotlinCompile> {
// kotlinOptions.allWarningsAsErrors = true
kotlinOptions.jvmTarget = javaMajorVersion.majorVersion
}

kotlin {
kotlinDslPluginOptions {
jvmTarget.set(javaMajorVersion.majorVersion)
}
}

0 comments on commit f800550

Please sign in to comment.