From 11e77147a5d2f15c910e2128b5b79667abd95095 Mon Sep 17 00:00:00 2001 From: GarfieldHan <2652609017@qq.com> Date: Wed, 17 Jul 2024 20:13:30 +0800 Subject: [PATCH] build: Suppress warnings Signed-off-by: GarfieldHan <2652609017@qq.com> --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index add2654..96dbfba 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,7 +38,7 @@ val androidSourceCompatibility by extra(JavaVersion.VERSION_17) val androidTargetCompatibility by extra(JavaVersion.VERSION_17) tasks.register("Delete", Delete::class) { - delete(rootProject.buildDir) + delete(layout.buildDirectory) } fun Project.configureBaseExtension() { @@ -72,6 +72,7 @@ fun Project.configureBaseExtension() { } lint { + checkReleaseBuilds = false abortOnError = true }