Tune Gradle config to avoid Kotlin Runtime library warning
This commit is contained in:
@@ -110,9 +110,12 @@ configure(allprojects) { project ->
|
||||
apply plugin: "kotlin"
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
kotlinOptions.freeCompilerArgs = ["-Xskip-runtime-version-check"]
|
||||
|
||||
}
|
||||
compileTestKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
kotlinOptions.freeCompilerArgs = ["-Xskip-runtime-version-check"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user