File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id " com.android.application"
3
- // Revert to stable Kotlin Android plugin
4
- id " kotlin-android"
3
+ // Use the fully qualified Kotlin plugin identifier so the
4
+ // version defined in settings.gradle is picked up correctly.
5
+ id " org.jetbrains.kotlin.android"
5
6
id " dev.flutter.flutter-gradle-plugin"
6
7
}
7
8
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.9.10'
2
+ // Use Kotlin 1.9.22 which is compatible with AGP 8.x
3
+ ext. kotlin_version = ' 1.9.22'
3
4
repositories {
4
5
google()
5
6
mavenCentral()
Original file line number Diff line number Diff line change 1
1
# Wed Jul 02 23:50:17 IST 2025
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
- distributionUrl =https\://services.gradle.org/distributions/gradle-9.0-milestone-1-bin .zip
4
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.5-all .zip
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ pluginManagement {
13
13
plugins {
14
14
id " dev.flutter.flutter-gradle-plugin" version " 1.0.0" apply false
15
15
id " dev.flutter.flutter-plugin-loader" version " 1.0.0" apply false
16
- id " org.jetbrains.kotlin.android" version " 1.9.10" apply false
16
+ // Kotlin 1.9.22 required for compatibility with Android
17
+ id " org.jetbrains.kotlin.android" version " 1.9.22" apply false
17
18
}
18
19
}
19
20
You can’t perform that action at this time.
0 commit comments