1+ plugins {
2+ id " com.android.application"
3+ id " kotlin-android"
4+ id " dev.flutter.flutter-gradle-plugin"
5+ id " com.google.protobuf"
6+ }
7+
18def localProperties = new Properties ()
29def localPropertiesFile = rootProject. file(' local.properties' )
310if (localPropertiesFile. exists()) {
@@ -6,10 +13,7 @@ if (localPropertiesFile.exists()) {
613 }
714}
815
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- }
16+
1317
1418def flutterVersionCode = localProperties. getProperty(' flutter.versionCode' )
1519if (flutterVersionCode == null ) {
@@ -21,10 +25,7 @@ if (flutterVersionName == null) {
2125 flutterVersionName = ' 1.0'
2226}
2327
24- apply plugin : ' com.android.application'
25- apply plugin : ' kotlin-android'
26- apply plugin : ' com.google.protobuf'
27- apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
28+
2829
2930
3031// signing
@@ -37,7 +38,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
3738
3839
3940android {
40- compileSdkVersion 33
41+ compileSdkVersion 34
4142 ndkVersion flutter. ndkVersion
4243
4344 compileOptions {
@@ -91,8 +92,8 @@ flutter {
9192 source ' ../..'
9293}
9394
94- dependencies {
95- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
95+ // dependencies {
96+ // implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
9697
97- }
98+ // }
9899
0 commit comments