Skip to content

Commit a7f30d0

Browse files
authored
APG 9.0.0 migration (#14)
1 parent a1bb301 commit a7f30d0

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 // replaced by "DeprecatedCall" in lint
20-
}
21-
}
22-
compileTestKotlin {
23-
kotlinOptions {
24-
jvmTarget = rootProject.javaVersion
16+
kotlin {
17+
compilerOptions {
18+
jvmTarget = rootProject.kotlinJvmTarget
2519
// allWarningsAsErrors = true // replaced by "DeprecatedCall" in lint
2620
}
2721
}
@@ -44,4 +38,4 @@ test {
4438
events("failed")
4539
}
4640
}
47-
}
41+
}

0 commit comments

Comments
 (0)