fix(gradle): make Kotlin DSL warnings fail build

This commit is contained in:
Harsh Shandilya 2023-07-01 02:05:05 +05:30
parent aa6401defa
commit 24203bae8d
No known key found for this signature in database

View file

@ -28,6 +28,9 @@ kapt.include.compile.classpath=false
kotlin.compiler.preciseCompilationResultsBackup=true kotlin.compiler.preciseCompilationResultsBackup=true
kotlin.build.report.output=file kotlin.build.report.output=file
# Make all Kotlin DSL warnings fail build
org.gradle.kotlin.dsl.allWarningsAsErrors=true
# Enable AndroidX # Enable AndroidX
android.useAndroidX=true android.useAndroidX=true