Skip to content

Commit c6da281

Browse files
author
ntwigg
committed
Fix java compilation to match the kotlin.
1 parent 22ca88a commit c6da281

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jvm/gradle/jvm-target.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ if (plugins.hasPlugin('org.jetbrains.kotlin.jvm')) {
2424
}
2525
}
2626
}
27+
28+
// Set Java compilation target to match Kotlin
29+
tasks.withType(JavaCompile) {
30+
options.release = Integer.parseInt(ver_JVM_TARGET)
31+
}

0 commit comments

Comments
 (0)