1+ plugins {
2+ id " com.android.application"
3+ id " kotlin-android"
4+ id " dev.flutter.flutter-gradle-plugin"
5+ id " com.google.gms.google-services"
6+ id " com.google.firebase.crashlytics"
7+ }
8+
19def localProperties = new Properties ()
210def localPropertiesFile = rootProject. file(' local.properties' )
311if (localPropertiesFile. exists()) {
@@ -6,11 +14,6 @@ if (localPropertiesFile.exists()) {
614 }
715}
816
9- def flutterRoot = localProperties. getProperty(' flutter.sdk' )
10- if (flutterRoot == null ) {
11- throw new GradleException (" Flutter SDK not found. Define location with flutter.sdk in the local.properties file." )
12- }
13-
1417def flutterVersionCode = localProperties. getProperty(' flutter.versionCode' )
1518if (flutterVersionCode == null ) {
1619 flutterVersionCode = ' 1'
@@ -21,17 +24,10 @@ if (flutterVersionName == null) {
2124 flutterVersionName = ' 1.0'
2225}
2326
24- apply plugin : ' com.android.application'
25- apply plugin : ' com.google.gms.google-services'
26- apply plugin : ' com.google.firebase.crashlytics'
27- apply plugin : ' kotlin-android'
28- apply plugin : ' kotlinx-serialization'
29- apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
30-
3127android {
3228 namespace " com.feelsoftware.slidemix"
33- compileSdk 34
34- buildToolsVersion = ' 34 .0.0'
29+ compileSdk 35
30+ buildToolsVersion = ' 35 .0.0'
3531 ndkVersion flutter. ndkVersion
3632
3733 compileOptions {
@@ -49,10 +45,10 @@ android {
4945
5046 defaultConfig {
5147 minSdkVersion 24
52- targetSdkVersion 34
48+ targetSdkVersion 35
5349 versionCode flutterVersionCode. toInteger()
5450 versionName flutterVersionName
55- resConfigs ' en' , ' uk'
51+ resourceConfigurations + = [ ' en' , ' uk' ]
5652 }
5753
5854 buildTypes {
@@ -76,6 +72,5 @@ flutter {
7672}
7773
7874dependencies {
79- implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
80- implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version "
75+ implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3"
8176}
0 commit comments