Remove redundant build config for Kotlin

This commit is contained in:
abilan
2023-02-22 16:39:12 -05:00
parent 451374dd11
commit ea4d185da9

View File

@@ -224,16 +224,9 @@ configure(javaProjects) { subproject ->
kotlinOptions { kotlinOptions {
languageVersion = '1.7' languageVersion = '1.7'
apiVersion = '1.7' apiVersion = '1.7'
freeCompilerArgs = ['-Xjsr305=strict', '-Xsuppress-version-warnings', '-opt-in=kotlin.RequiresOptIn']
allWarningsAsErrors = true allWarningsAsErrors = true
} }
} }
compileTestKotlin {
kotlinOptions {
languageVersion = '1.8'
freeCompilerArgs = ['-Xjsr305=strict', '-opt-in=kotlin.RequiresOptIn']
}
}
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
options.fork = true options.fork = true