From 05331a2681aeda71b9cda9156979d7b2ca58d95e Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Fri, 16 Oct 2026 02:56:38 +0200 Subject: [PATCH] chore(samples): run the Android build on Gradle 9.1 and Crashlytics 3.0 Gradle 8.14 doesn't run on Java 25, which current Android Studio bundles; 9.1.0 is the first release that does. Crashlytics' Gradle plugin 2.8 uses groovy.util.XmlSlurper, which Gradle 9 removed, so release builds failed while uploading the mapping file; 3.0.0 is the first release that works. Co-Authored-By: Claude Opus 5.5 (1M context) --- sample_app/android/gradle/wrapper/gradle-wrapper.properties | 2 +- sample_app/android/settings.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sample_app/android/gradle/wrapper/gradle-wrapper.properties b/sample_app/android/gradle/wrapper/gradle-wrapper.properties index 828b334284..97eab03dca 100644 --- a/sample_app/android/gradle/wrapper/gradle-wrapper.properties +++ b/sample_app/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip diff --git a/sample_app/android/settings.gradle b/sample_app/android/settings.gradle index 1217943547..66eac41b97 100644 --- a/sample_app/android/settings.gradle +++ b/sample_app/android/settings.gradle @@ -21,7 +21,7 @@ plugins { id "com.android.application" version "8.12.2" apply false // START: FlutterFire Configuration id "com.google.gms.google-services" version "4.4.3" apply false - id "com.google.firebase.crashlytics" version "2.8.1" apply false + id "com.google.firebase.crashlytics" version "3.0.0" apply false // END: FlutterFire Configuration id "org.jetbrains.kotlin.android" version "2.2.20" apply false }