Mustafa Ozhan
07/03/2023, 2:31 PMorg.gradle.kotlin.dsl.allWarningsAsErrors=true
does the same thing as
allprojects {
tasks.withType<KotlinCompile> {
kotlinOptions {
allWarningsAsErrors = true
}
}
}
?tapchicoma
07/03/2023, 2:33 PMtapchicoma
07/03/2023, 2:33 PMMustafa Ozhan
07/03/2023, 2:34 PMVampire
07/03/2023, 2:46 PMallprojects { ... }
is evil. 😉tapchicoma
07/03/2023, 2:48 PMkotlin.compilerOptions.allWarnings.allWarningsAsErrors.set(true)
tapchicoma
07/03/2023, 2:50 PM.gradle.kts
build scriptsVampire
07/03/2023, 2:50 PM.gradle.kts
, hence my question 🙂tapchicoma
07/03/2023, 2:53 PMVampire
07/03/2023, 2:57 PMkotlin-dsl.precompiled-script-plugins
plugin could have been changed to forward this property also to this compilation. While the would then of course also hit all other Kotlin files in that project if there are any, so would probably have been bad. 🙂
Yep, just wanted to make sure. The