Skip to content

Commit 1109ebd

Browse files
author
Abduqodiri Qurbonzoda
committed
Enable allWarningsAsErrors in :example:kotlin-multiplatform project
1 parent 6d7d7f4 commit 1109ebd

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)