plastiv
10/31/2018, 1:46 PMtasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
allWarningsAsErrors = true
freeCompilerArgs = ["-Xprogressive"]
}
}
gildor
10/31/2018, 1:51 PMallprojects
blocktapchicoma
10/31/2018, 1:51 PMCzar
10/31/2018, 2:17 PMtasks.withType<KotlinCompile> {
kotlinOptions {
allWarningsAsErrors = true
freeCompilerArgs = listOf("-Xjsr305=strict", "-Xprogressive")
}
}
configure(allprojects)
is still needed of course, I'm only commenting on the withType
part