mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Migrate buildConfig from properties.gradle to build.gradle
This is generated in response to a deprecation warning in AS: ``` The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. The current default is 'false'. It will be removed in version 9.0 of the Android Gradle plugin. You can resolve this warning in Android Studio via `Refactor` > `Migrate BuildConfig to Gradle Build Files` ``` PiperOrigin-RevId: 636546985
This commit is contained in:
parent
7b352e1903
commit
68c16782d7
2 changed files with 2 additions and 1 deletions
|
|
@ -57,6 +57,8 @@ android {
|
||||||
|
|
||||||
flavorDimensions = ["decoderExtensions"]
|
flavorDimensions = ["decoderExtensions"]
|
||||||
|
|
||||||
|
buildFeatures.buildConfig true
|
||||||
|
|
||||||
productFlavors {
|
productFlavors {
|
||||||
noDecoderExtensions {
|
noDecoderExtensions {
|
||||||
dimension "decoderExtensions"
|
dimension "decoderExtensions"
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,5 @@
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
buildDir=buildout
|
buildDir=buildout
|
||||||
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m
|
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m
|
||||||
android.defaults.buildfeatures.buildconfig=true
|
|
||||||
android.nonTransitiveRClass=false
|
android.nonTransitiveRClass=false
|
||||||
android.nonFinalResIds=false
|
android.nonFinalResIds=false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue