Skip to content

Commit f26b681

Browse files
[various] Update Android example toolchains (#9062)
Almost all packages in the repository are using AGP 8.5+ and KGP 1.9+, but a few are still using older versions, and Flutter `master` prints warnings that they will be unsupported in future Flutter versions. This updates them to match the rest of the repo, to avoid later breakage.
1 parent 465bcff commit f26b681

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

packages/flutter_markdown/example/android/settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919
// See https://github.com/flutter/flutter/blob/master/docs/ecosystem/Plugins-and-Packages-repository-structure.md#gradle-structure for more info.
2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "8.1.0" apply false
22+
id "com.android.application" version "8.5.1" apply false
2323
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
2424
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.1"
2525
}

packages/flutter_plugin_android_lifecycle/example/android/settings.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ buildscript {
3030

3131
plugins {
3232
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
33-
id "com.android.application" version "8.1.0" apply false
34-
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
33+
id "com.android.application" version "8.5.1" apply false
34+
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
3535
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.1"
3636
}
3737

packages/go_router/example/android/settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919
// See https://github.com/flutter/flutter/blob/master/docs/ecosystem/Plugins-and-Packages-repository-structure.md#gradle-structure for more info.
2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "8.1.0" apply false
22+
id "com.android.application" version "8.5.1" apply false
2323
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
2424
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.1"
2525
}

packages/path_provider/path_provider/example/android/settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pluginManagement {
2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
2222
id "com.android.application" version "8.6.0" apply false
23-
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
23+
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
2424
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.1"
2525
}
2626

packages/path_provider/path_provider_android/example/android/settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pluginManagement {
2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
2222
id "com.android.application" version "8.5.1" apply false
23-
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
23+
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
2424
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.1"
2525
}
2626

packages/rfw/example/hello/android/settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919
// See https://github.com/flutter/flutter/blob/master/docs/ecosystem/Plugins-and-Packages-repository-structure.md#gradle-structure for more info.
2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "8.1.0" apply false
22+
id "com.android.application" version "8.5.1" apply false
2323
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
2424
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.1"
2525

0 commit comments

Comments
 (0)