File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,13 @@ plugins {
88 id " dev.flutter.flutter-gradle-plugin"
99}
1010
11+ // Move keystoreProperties definition here, before it's used
12+ def keystoreProperties = new Properties ()
13+ def keystorePropertiesFile = rootProject. file(' key.properties' )
14+ if (keystorePropertiesFile. exists()) {
15+ keystoreProperties. load(new FileInputStream (keystorePropertiesFile))
16+ }
17+
1118android {
1219 namespace = " com.example.disaster_management"
1320 compileSdk = flutter. compileSdkVersion
@@ -55,8 +62,4 @@ flutter {
5562 source = " ../.."
5663}
5764
58- def keystoreProperties = new Properties ()
59- def keystorePropertiesFile = rootProject. file(' key.properties' )
60- if (keystorePropertiesFile. exists()) {
61- keystoreProperties. load(new FileInputStream (keystorePropertiesFile))
62- }
65+ // Remove the duplicate keystoreProperties definition that was here
You can’t perform that action at this time.
0 commit comments