File tree Expand file tree Collapse file tree 3 files changed +12
-21
lines changed
Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id " com.android.application"
33 id " kotlin-android"
4- id " debug.flutter.flutter-gradle-plugin"
4+ id " dev.flutter.flutter-gradle-plugin"
5+
56 id " com.google.gms.google-services"
6- id " com.google.firebase.firebase-perf"
77 id " com.google.firebase.crashlytics"
8+ id " com.google.firebase.firebase-perf"
89}
910
1011
@@ -15,7 +16,7 @@ if (debugStoreFile.exists()) {
1516}
1617
1718def prodStore = new Properties ()
18- def prodStoreFile = rootProject. file(' key .properties' )
19+ def prodStoreFile = rootProject. file(' prod .properties' )
1920if (prodStoreFile. exists()) {
2021 prodStore. load(new FileInputStream (prodStoreFile))
2122}
@@ -50,7 +51,7 @@ android {
5051 versionName = flutter. versionName
5152 }
5253 signingConfigs {
53- debug {
54+ dev {
5455 keyAlias debugStore[' keyAlias' ]
5556 keyPassword debugStore[' keyPassword' ]
5657 storeFile file(debugStore[' storeFile' ])
@@ -64,7 +65,7 @@ android {
6465 }
6566 }
6667 buildTypes {
67- debug {
68+ dev {
6869 signingConfig signingConfigs. debug
6970 }
7071 release {
Original file line number Diff line number Diff line change 1- buildscript {
2- repositories {
3- google()
4- mavenCentral()
5- }
6- dependencies {
7- classpath ' com.google.firebase:firebase-crashlytics-gradle:2.9.2'
8- classpath ' com.android.tools.build:gradle:8.7.2'
9- classpath ' com.google.firebase:perf-plugin:1.4.2'
10- classpath ' com.google.gms:google-services:4.4.0'
11- }
12- }
131
142allprojects {
153 repositories {
Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ pluginManagement {
55 def flutterSdkPath = properties. getProperty(" flutter.sdk" )
66 assert flutterSdkPath != null , " flutter.sdk not set in local.properties"
77 return flutterSdkPath
8- }
9- settings. ext. flutterSdkPath = flutterSdkPath()
8+ }()
109
11- includeBuild(" ${ settings.ext. flutterSdkPath} /packages/flutter_tools/gradle" )
10+ includeBuild(" $flutterSdkPath /packages/flutter_tools/gradle" )
1211
1312 repositories {
1413 google()
@@ -17,14 +16,17 @@ pluginManagement {
1716 }
1817}
1918
19+
2020plugins {
2121 id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
2222 id " com.android.application" version ' 8.7.2' apply false
23+ id " org.jetbrains.kotlin.android" version " 1.8.22" apply false
2324 // id "com.android.application" version "7.3.0" apply false
2425 // START: FlutterFire Configuration
2526 id " com.google.gms.google-services" version " 4.4.2" apply false
27+ id " com.google.firebase.crashlytics" version " 2.9.9" apply false
28+ id " com.google.firebase.firebase-perf" version " 1.4.2" apply false
2629 // END: FlutterFire Configuration
27- id " org.jetbrains.kotlin.android" version " 1.8.22" apply false
2830}
2931
3032include " :app"
You can’t perform that action at this time.
0 commit comments