Unverified Commit a2296aa8 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Simplify project template (#13558)

parent c3c3b68b
...@@ -74,6 +74,9 @@ class FlutterPlugin implements Plugin<Project> { ...@@ -74,6 +74,9 @@ class FlutterPlugin implements Plugin<Project> {
project.android.buildTypes { project.android.buildTypes {
profile { profile {
initWith debug initWith debug
if (it.hasProperty('matchingFallbacks')) {
matchingFallbacks = ['debug', 'release']
}
} }
} }
......
...@@ -38,9 +38,6 @@ android { ...@@ -38,9 +38,6 @@ android {
// Signing with the debug keys for now, so `flutter run --release` works. // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug signingConfig signingConfigs.debug
} }
profile {
matchingFallbacks = ['debug', 'release']
}
} }
} }
......
...@@ -43,9 +43,6 @@ android { ...@@ -43,9 +43,6 @@ android {
// Signing with the debug keys for now, so `flutter run --release` works. // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug signingConfig signingConfigs.debug
} }
profile {
matchingFallbacks = ['debug', 'release']
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment