浏览代码

Added strict compiler and lint options

Vadik Sirekanyan 2 年之前
父节点
当前提交
1dddfdd481
共有 1 个文件被更改,包括 4 次插入0 次删除
  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