Update buildFeatures in build scripts (#730)

This commit is contained in:
stevenyomi 2024-01-28 10:28:24 +08:00 committed by GitHub
parent b90dc2a8c3
commit e4fa33b44f
2 changed files with 3 additions and 8 deletions

View File

@ -71,9 +71,6 @@ android {
} }
buildFeatures { buildFeatures {
// Disable unused AGP features
aidl false
renderScript false
resValues false resValues false
shaders false shaders false
buildConfig true buildConfig true

View File

@ -11,7 +11,6 @@ android {
namespace = "eu.kanade.tachiyomi.extension.core" namespace = "eu.kanade.tachiyomi.extension.core"
@Suppress("UnstableApiUsage")
sourceSets { sourceSets {
named("main") { named("main") {
manifest.srcFile("AndroidManifest.xml") manifest.srcFile("AndroidManifest.xml")
@ -19,9 +18,8 @@ android {
} }
} }
libraryVariants.all { buildFeatures {
generateBuildConfigProvider?.configure { resValues = false
enabled = false shaders = false
}
} }
} }