From 46106bdc0f2dc1e264c4a2e69f069a78ba91fbbc Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Fri, 14 Feb 2025 22:06:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(build):=20=E5=A4=9A=E4=BD=99=E7=9A=84=20APK?= =?UTF-8?q?=20=E4=BF=A1=E6=81=AF=E5=AF=BC=E8=87=B4=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0702fd4..d35be76 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -70,6 +70,11 @@ android { buildFeatures { compose = true } + // F-Droid 构建无法检测依赖信息块,所以将其忽略 + dependenciesInfo { + includeInApk = false + includeInBundle = false + } } dependencies { @@ -126,4 +131,4 @@ fun String.exec(): String = exec(this) fun Project.exec(command: String): String = providers.exec { commandLine(command.split(" ")) -}.standardOutput.asText.get().trim() \ No newline at end of file +}.standardOutput.asText.get().trim()