1+ plugins {
2+ id " com.android.application"
3+ id " kotlin-android"
4+ id " dev.flutter.flutter-gradle-plugin"
5+ }
6+
17def localProperties = new Properties ()
28def localPropertiesFile = rootProject. file(' local.properties' )
39if (localPropertiesFile. exists()) {
@@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
612 }
713}
814
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-
1415def flutterVersionCode = localProperties. getProperty(' flutter.versionCode' )
1516if (flutterVersionCode == null ) {
1617 flutterVersionCode = ' 1'
@@ -21,12 +22,8 @@ if (flutterVersionName == null) {
2122 flutterVersionName = ' 1.0'
2223}
2324
24- apply plugin : ' com.android.application'
25- apply plugin : ' kotlin-android'
26- apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27-
2825android {
29- compileSdk 34
26+ compileSdk 35
3027
3128 sourceSets {
3229 main. java. srcDirs + = ' src/main/kotlin'
@@ -36,7 +33,7 @@ android {
3633 defaultConfig {
3734 applicationId " com.keevault.flutter_autofill_service_example"
3835 minSdkVersion 29
39- targetSdk 34
36+ targetSdk 35
4037 versionCode flutterVersionCode. toInteger()
4138 versionName flutterVersionName
4239 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -69,14 +66,12 @@ flutter {
6966}
7067
7168dependencies {
72- implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
73- // implementation "uk.uuid.slf4j:slf4j-android:1.7.30-0"
7469 implementation ' org.tinylog:tinylog-api:2.6.2'
7570 implementation ' org.tinylog:tinylog-impl:2.6.2'
7671 implementation ' org.tinylog:slf4j-tinylog:2.6.2'
7772 implementation ' androidx.appcompat:appcompat:1.7.0'
78- implementation ' androidx.constraintlayout:constraintlayout:2.1.4 '
73+ implementation ' androidx.constraintlayout:constraintlayout:2.2.1 '
7974 testImplementation ' junit:junit:4.13.2'
80- androidTestImplementation ' androidx.test:runner:1.6.1 '
75+ androidTestImplementation ' androidx.test:runner:1.6.2 '
8176 androidTestImplementation ' androidx.test.espresso:espresso-core:3.6.1'
8277}
0 commit comments