Parent #17173
This issue is about enabling the the allWarningsAsErrors flag so that all new compile warnings are treated as errors from now on.
To do so, you can just add the below configuration to the root level build.gradle file:
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
...
allprojects {
....
tasks.withType(KotlinCompile).all {
kotlinOptions {
allWarningsAsErrors = true
}
}
}