mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08: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
@ -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…
x
Reference in New Issue
Block a user