Set JVM 1.8 for test source set as well #KT-34154 Fixed
This commit is contained in:
+4
-3
@@ -153,9 +153,10 @@ class KotlinDslGradleKotlinJavaFrameworkSupportProvider :
|
|||||||
.addOther("""
|
.addOther("""
|
||||||
tasks {
|
tasks {
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
jvmTarget = "1.8"
|
}
|
||||||
}
|
compileTestKotlin {
|
||||||
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
}
|
}
|
||||||
}""".trimIndent()
|
}""".trimIndent()
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user