Fix layout inspector not working

This commit is contained in:
FooIbar committed 2024-03-21 20:31:10 +08:00
1 parent 6fb2172c2c
commit 23475de932
1 file changed
+11 -6
+11 -6
View File
@@ -147,12 +147,6 @@ android {
dex {
useLegacyPackaging = false
}
resources {
excludes += "/META-INF/**"
excludes += "/kotlin/**"
excludes += "**.txt"
excludes += "**.bin"
}
}
dependenciesInfo.includeInApk = false
@@ -184,6 +178,17 @@ android {
namespace = "com.hippo.ehviewer"
}
androidComponents {
onVariants(selector().withBuildType("release")) {
it.packaging.resources.excludes.addAll(
"/META-INF/**",
"/kotlin/**",
"**.txt",
"**.bin",
)
}
}
dependencies {
// https://developer.android.com/jetpack/androidx/releases/activity
implementation(libs.androidx.activity.compose)