summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-07-01 02:05:05 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-07-01 02:05:05 +0530
commit24203bae8d9089621cf044027e33740213833321 (patch)
treed130c55b1887f453aa7d4fade75e85a8f3927a4d
parentaa6401defa539afcf814bc1d6f54396e2e89855b (diff)
fix(gradle): make Kotlin DSL warnings fail build
-rw-r--r--gradle.properties3
1 files changed, 3 insertions, 0 deletions
diff --git a/gradle.properties b/gradle.properties
index a34b3c1b..b7f95a42 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -28,6 +28,9 @@ kapt.include.compile.classpath=false
kotlin.compiler.preciseCompilationResultsBackup=true
kotlin.build.report.output=file
+# Make all Kotlin DSL warnings fail build
+org.gradle.kotlin.dsl.allWarningsAsErrors=true
+
# Enable AndroidX
android.useAndroidX=true