Skip to content

Commit e9a5451

Browse files
authored
APG 9.0.0 migration (#28)
1 parent 8cf5a34 commit e9a5451

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

build.gradle

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,9 @@ java {
1313
targetCompatibility = rootProject.javaVersion
1414
toolchain.languageVersion = JavaLanguageVersion.of(rootProject.javaToolchainVersion.toString())
1515
}
16-
compileKotlin {
17-
kotlinOptions {
18-
jvmTarget = rootProject.javaVersion
19-
allWarningsAsErrors = true
20-
}
21-
}
22-
compileTestKotlin {
23-
kotlinOptions {
24-
jvmTarget = rootProject.javaVersion
16+
kotlin {
17+
compilerOptions {
18+
jvmTarget = rootProject.kotlinJvmTarget
2519
allWarningsAsErrors = true
2620
}
2721
}
@@ -61,4 +55,4 @@ test {
6155
events("failed")
6256
}
6357
}
64-
}
58+
}

0 commit comments

Comments
 (0)