Sfoglia il codice sorgente

added strict compiler option

sirekanian 2 anni fa
parent
commit
46dd773e5f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      app/build.gradle

+ 3 - 0
app/build.gradle

@@ -50,6 +50,9 @@ android {
             excludes += '/META-INF/{AL2.0,LGPL2.1}'
         }
     }
+    kotlinOptions {
+        allWarningsAsErrors = true
+    }
     lint {
         warningsAsErrors true
     }