Преглед изворни кода

Added strict option for kotlin compiler

sirekanian пре 3 година
родитељ
комит
69fffbee7a
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      app/build.gradle.kts

+ 3 - 0
app/build.gradle.kts

@@ -39,6 +39,9 @@ android {
         sourceCompatibility = JavaVersion.VERSION_1_8
         targetCompatibility = JavaVersion.VERSION_1_8
     }
+    kotlinOptions {
+        allWarningsAsErrors = true
+    }
     lint {
         warningsAsErrors = true
     }