diff --git a/build.gradle b/build.gradle index 6bdec4f..65d883b 100644 --- a/build.gradle +++ b/build.gradle @@ -13,14 +13,8 @@ java { targetCompatibility = rootProject.javaVersion toolchain.languageVersion = JavaLanguageVersion.of(rootProject.javaToolchainVersion.toString()) } -compileKotlin { - kotlinOptions { - jvmTarget = rootProject.javaVersion - // allWarningsAsErrors = true // replaced by "DeprecatedCall" in lint - } -} -compileTestKotlin { - kotlinOptions { +kotlin { + compilerOptions { jvmTarget = rootProject.javaVersion // allWarningsAsErrors = true // replaced by "DeprecatedCall" in lint } @@ -44,4 +38,4 @@ test { events("failed") } } -} \ No newline at end of file +}