From 18e6d7579dd7249f7af245144777e2965240b692 Mon Sep 17 00:00:00 2001 From: Niaz Sagor <50655067+NiazSagor@users.noreply.github.com> Date: Wed, 15 Apr 2026 22:31:06 +0600 Subject: [PATCH] Upgrade Android Gradle build tools for dynamic_theme (#2799) This commit updates the Android Gradle configuration: * Bumps the Android Gradle Plugin version from 7.3.0 to 8.9.1. * Upgrades the Kotlin Android plugin version from 1.7.10 to 2.1.0. * Updates the Gradle wrapper distribution from version 7.6.3 to 8.11.1. ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I have added sample code updates to the [changelog]. - [x] I updated/added relevant documentation (doc comments with `///`). @ericwindmill Co-authored-by: Eric Windmill --- .../android/gradle/wrapper/gradle-wrapper.properties | 2 +- dynamic_theme/android/settings.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dynamic_theme/android/gradle/wrapper/gradle-wrapper.properties b/dynamic_theme/android/gradle/wrapper/gradle-wrapper.properties index e1ca574ef..efdcc4ace 100644 --- a/dynamic_theme/android/gradle/wrapper/gradle-wrapper.properties +++ b/dynamic_theme/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip diff --git a/dynamic_theme/android/settings.gradle b/dynamic_theme/android/settings.gradle index 1d6d19b7f..1bb3284d7 100644 --- a/dynamic_theme/android/settings.gradle +++ b/dynamic_theme/android/settings.gradle @@ -19,8 +19,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "7.3.0" apply false - id "org.jetbrains.kotlin.android" version "1.7.10" apply false + id "com.android.application" version "8.9.1" apply false + id "org.jetbrains.kotlin.android" version "2.1.0" apply false } include ":app"