Also set JVM target to 11 for Java
This commit is contained in:
+9
-2
@@ -30,9 +30,16 @@ test {
|
||||
}
|
||||
}
|
||||
|
||||
def jvmTargetVersion = "11"
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
kotlinOptions.jvmTarget = jvmTargetVersion
|
||||
}
|
||||
compileJava {
|
||||
targetCompatibility = jvmTargetVersion
|
||||
}
|
||||
compileTestKotlin {
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
kotlinOptions.jvmTarget = jvmTargetVersion
|
||||
}
|
||||
compileTestJava {
|
||||
targetCompatibility = jvmTargetVersion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user