浏览代码

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
     }