diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-07-01 02:05:05 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-07-01 02:05:05 +0530 |
commit | 24203bae8d9089621cf044027e33740213833321 (patch) | |
tree | d130c55b1887f453aa7d4fade75e85a8f3927a4d | |
parent | aa6401defa539afcf814bc1d6f54396e2e89855b (diff) |
fix(gradle): make Kotlin DSL warnings fail build
-rw-r--r-- | gradle.properties | 3 |
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 |