diff --git a/app/build.gradle b/app/build.gradle index 936055f29..93fd49a14 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -52,6 +52,8 @@ android { disable 'MissingTranslation' } buildFeatures { + buildConfig true + resValues true viewBinding true } testOptions { diff --git a/gradle.properties b/gradle.properties index 8c2ec857f..ab82f6759 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,5 +18,11 @@ org.gradle.parallel=true # https://docs.gradle.org/7.6/userguide/configuration_cache.html org.gradle.unsafe.configuration-cache=true +# 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 android.enableR8.fullMode=true android.useAndroidX=true