Skip to content

Commit 5a25bd4

Browse files
tbogdanovawoainikk
authored andcommitted
For Train: allWarningsAsErrors = false
Until task KQA-2211 is done
1 parent dc57dc5 commit 5a25bd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fun version(target: String): String {
4040

4141
kotlin {
4242
compilerOptions {
43-
allWarningsAsErrors = true
43+
allWarningsAsErrors = false
4444
}
4545
}
4646

buildSrc/src/main/kotlin/CommunityProjectsBuild.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private fun warningsAreErrorsOverride(project: Project): Boolean? =
178178
* Set warnings as errors, but allow the Kotlin User Project configuration to take over. See KT-75078.
179179
*/
180180
fun KotlinCommonCompilerOptions.setWarningsAsErrors(project: Project) {
181-
allWarningsAsErrors = warningsAreErrorsOverride(project) ?: true
181+
allWarningsAsErrors = warningsAreErrorsOverride(project) ?: false
182182
}
183183

184184
/**

0 commit comments

Comments
 (0)