Skip to content

Commit a1b039f

Browse files
author
Abduqodiri Qurbonzoda
committed
Enable allWarningsAsErrors in :example:kotlin-multiplatform project
1 parent 8095e77 commit a1b039f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/kotlin-multiplatform/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ kotlin {
3030

3131
applyDefaultHierarchyTemplate()
3232

33+
targets.configureEach {
34+
compilations.configureEach {
35+
kotlinOptions.allWarningsAsErrors = true
36+
}
37+
}
38+
3339
sourceSets.configureEach {
3440
languageSettings {
3541
progressiveMode = true

0 commit comments

Comments
 (0)