Simplify project template (#13558)

This commit is contained in:
Mikkel Nygaard Ravn
2017-12-14 11:38:20 +01:00
committed by GitHub
parent c3c3b68bf7
commit a2296aa8e3
3 changed files with 3 additions and 6 deletions

View File

@@ -74,6 +74,9 @@ class FlutterPlugin implements Plugin<Project> {
project.android.buildTypes {
profile {
initWith debug
if (it.hasProperty('matchingFallbacks')) {
matchingFallbacks = ['debug', 'release']
}
}
}

View File

@@ -38,9 +38,6 @@ android {
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
profile {
matchingFallbacks = ['debug', 'release']
}
}
}

View File

@@ -43,9 +43,6 @@ android {
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
profile {
matchingFallbacks = ['debug', 'release']
}
}
}