Remove redundant build config for Kotlin
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user