We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cf5a34 commit e9a5451Copy full SHA for e9a5451
1 file changed
build.gradle
@@ -13,15 +13,9 @@ java {
13
targetCompatibility = rootProject.javaVersion
14
toolchain.languageVersion = JavaLanguageVersion.of(rootProject.javaToolchainVersion.toString())
15
}
16
-compileKotlin {
17
- kotlinOptions {
18
- jvmTarget = rootProject.javaVersion
19
- allWarningsAsErrors = true
20
- }
21
-}
22
-compileTestKotlin {
23
24
+kotlin {
+ compilerOptions {
+ jvmTarget = rootProject.kotlinJvmTarget
25
allWarningsAsErrors = true
26
27
@@ -61,4 +55,4 @@ test {
61
55
events("failed")
62
56
63
57
64
58
+}
0 commit comments