build: Suppress warnings

Signed-off-by: GarfieldHan <2652609017@qq.com>
This commit is contained in:
GarfieldHan
2024-07-17 20:13:30 +08:00
parent a9f3c6f372
commit 11e77147a5

View File

@@ -38,7 +38,7 @@ val androidSourceCompatibility by extra(JavaVersion.VERSION_17)
val androidTargetCompatibility by extra(JavaVersion.VERSION_17) val androidTargetCompatibility by extra(JavaVersion.VERSION_17)
tasks.register("Delete", Delete::class) { tasks.register("Delete", Delete::class) {
delete(rootProject.buildDir) delete(layout.buildDirectory)
} }
fun Project.configureBaseExtension() { fun Project.configureBaseExtension() {
@@ -72,6 +72,7 @@ fun Project.configureBaseExtension() {
} }
lint { lint {
checkReleaseBuilds = false
abortOnError = true abortOnError = true
} }