Skip to content

Commit a9efdeb

Browse files
committed
sourceCompatibility
1 parent ae9952c commit a9efdeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ tasks {
4545
freeCompilerArgs = listOf("-XXLanguage:+InlineClasses")
4646
// javaParameters = true
4747
}
48+
sourceCompatibility = "11"
4849
// As per https://stackoverflow.com/a/47669720
4950
// See also https://discuss.kotlinlang.org/t/kotlin-support-for-java-9-module-system/2499/9
5051
// destinationDir = compileJava.destinationDir
@@ -55,6 +56,7 @@ tasks {
5556
jvmTarget = "11"
5657
// javaParameters = true
5758
}
59+
sourceCompatibility = "11"
5860
}
5961

6062
compileJava {

0 commit comments

Comments
 (0)