Skip to content

Commit 52a3838

Browse files
committed
Fix Kotlin DSL compatibility setting
1 parent dece8f7 commit 52a3838

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/src/lib/template/templates/gradle/kotlin/build.gradle.kts.eta

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ java {
8282
// If you remove this line, sources will not be generated.
8383
withSourcesJar()
8484

85-
sourceCompatibility = JavaVersion.VERSION_<%= it.java.compatibility %>
86-
targetCompatibility = JavaVersion.VERSION_<%= it.java.compatibility %>
85+
sourceCompatibility = JavaVersion.<%= it.java.compatibility %>
86+
targetCompatibility = JavaVersion.<%= it.java.compatibility %>
8787
}
8888

8989
tasks.jar {

0 commit comments

Comments
 (0)