Disable buildFeatures flags by default (#3241)

This commit is contained in:
Goooler
2023-01-12 18:53:55 +08:00
committed by GitHub
parent 1f545607b5
commit b03165f9fc
3 changed files with 12 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ plugins {
android { android {
namespace "com.android.systemui.shared" namespace "com.android.systemui.shared"
buildFeatures {
aidl true
}
sourceSets { sourceSets {
main { main {
java.srcDirs = ['src'] java.srcDirs = ['src']

View File

@@ -147,7 +147,10 @@ android {
} }
buildFeatures { buildFeatures {
aidl true
buildConfig true
compose true compose true
resValues true
} }
composeOptions { composeOptions {

View File

@@ -1,3 +1,9 @@
# Disable buildFeatures flags by default
android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
# https://developer.android.com/studio/build/shrink-code#full-mode # https://developer.android.com/studio/build/shrink-code#full-mode
android.enableR8.fullMode=true android.enableR8.fullMode=true
android.nonTransitiveRClass=true android.nonTransitiveRClass=true