Skip to content

Commit

Permalink
Enable allWarningsAsErrors for all KotlinCompile tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
qurbonzoda committed Oct 5, 2023
1 parent bf6627b commit d3fbf19
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ allprojects {
mavenCentral()
}

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

0 comments on commit d3fbf19

Please sign in to comment.