Skip to content

Commit d3fbf19

Browse files
Abduqodiri Qurbonzodaqurbonzoda
authored andcommitted
Enable allWarningsAsErrors for all KotlinCompile tasks
1 parent bf6627b commit d3fbf19

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ allprojects {
2525
mavenCentral()
2626
}
2727

28-
// TODO: enable after https://youtrack.jetbrains.com/issue/KT-46257 gets fixed
29-
// tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
30-
// kotlinOptions.allWarningsAsErrors = true
31-
// }
28+
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
29+
kotlinOptions.allWarningsAsErrors = true
30+
}
3231
}

0 commit comments

Comments
 (0)