Skip to content

Commit 934aa2c

Browse files
committed
globally set buildConfig to true
1 parent 5cafb16 commit 934aa2c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/firebase_snippets_app/android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ android {
3030
namespace = "com.example.firebase_snippets_app"
3131
compileSdkVersion flutter.compileSdkVersion
3232

33+
buildFeatures {
34+
buildConfig true
35+
}
36+
3337
compileOptions {
3438
sourceCompatibility JavaVersion.VERSION_1_8
3539
targetCompatibility JavaVersion.VERSION_1_8
@@ -52,10 +56,6 @@ android {
5256
versionName flutterVersionName
5357
}
5458

55-
buildFeatures {
56-
buildConfig true
57-
}
58-
5959
buildTypes {
6060
release {
6161
// TODO: Add your own signing config for the release build.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
4+
android.defaults.buildfeatures.buildconfig=true

0 commit comments

Comments
 (0)