Explorar o código

Added strict option for kotlin compiler

sirekanian %!s(int64=3) %!d(string=hai) anos
pai
achega
69fffbee7a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
     }