Skip to content

Commit 60c0bed

Browse files
authored
Merge pull request #11 from sagnik150699/codex/fix-build.gradle-dependency-issue
Fix Gradle wrapper version
2 parents 0bf5b9e + d39e2ad commit 60c0bed

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

android/app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
plugins {
22
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"
56
id "dev.flutter.flutter-gradle-plugin"
67
}
78

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
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'
34
repositories {
45
google()
56
mavenCentral()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Jul 02 23:50:17 IST 2025
22
distributionBase=GRADLE_USER_HOME
33
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
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

android/settings.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pluginManagement {
1313
plugins {
1414
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
1515
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
1718
}
1819
}
1920

0 commit comments

Comments
 (0)