Forráskód Böngészése

Added strict compiler and lint options

Vadik Sirekanyan 2 éve
szülő
commit
1dddfdd481
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      app/build.gradle.kts

+ 4 - 0
app/build.gradle.kts

@@ -34,6 +34,10 @@ android {
     }
     kotlinOptions {
         jvmTarget = "1.8"
+        allWarningsAsErrors = true
+    }
+    lint {
+        warningsAsErrors = true
     }
     buildFeatures {
         compose = true