Remove warning about deprecated 'variant.getGenerateBuildConfig()'
This commit is contained in:
parent
4f7da06e26
commit
42967ef45f
|
@ -1,8 +1,8 @@
|
||||||
apply from: bootstrap.androidModule
|
apply from: bootstrap.androidModule
|
||||||
|
|
||||||
android {
|
android {
|
||||||
libraryVariants.all {
|
buildFeatures {
|
||||||
generateBuildConfig.enabled = true
|
buildConfig = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,10 +39,8 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable generating BuildConfig class by default
|
buildFeatures {
|
||||||
// Replace it with https://issuetracker.google.com/issues/72050365 once released.
|
buildConfig = false
|
||||||
libraryVariants.all {
|
|
||||||
generateBuildConfig.enabled = false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue