From 24203bae8d9089621cf044027e33740213833321 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 1 Jul 2023 02:05:05 +0530 Subject: [PATCH] fix(gradle): make Kotlin DSL warnings fail build --- gradle.properties | 3 +++ 1 file changed, 3 insertions(+) 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