From f865bafd86f3af6a68bf8e4cfefd6cc535ac9ce6 Mon Sep 17 00:00:00 2001 From: Maurice Parrish <10687576+bparrishMines@users.noreply.github.com> Date: Fri, 16 Feb 2024 19:52:24 -0500 Subject: [PATCH] Raise gradle wrapper version of legacy project (#6132) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When running `flutter create` for a new plugin on `master`, this error is printed from the legacy build_all_packages test. ![Screenshot 2024-02-09 at 3 08 35 PM](https://github.com/flutter/packages/assets/10687576/0f22382c-6c88-4aab-8e80-d385ef2892fa) It looks like only 6.7.1 is required to work with new plugins, so this is only a minor bump. --- .ci/legacy_project/README.md | 3 +++ .../android/gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.ci/legacy_project/README.md b/.ci/legacy_project/README.md index 98ad7d49ae..0e23f626fb 100644 --- a/.ci/legacy_project/README.md +++ b/.ci/legacy_project/README.md @@ -39,3 +39,6 @@ and then deleting everything but `android/` from it: jcenter.bintray.com shutdown. - Update `compileSdkVersion` from 30 to 33 to maintain compatibility with plugins that use API 34. +- Updates `gradle-wrapper.properties` from `6.7` to `6.7.1`, to add + support for the Kotlin gradle plugin. If a user runs into this + error, the error message is clear on how to upgrade. diff --git a/.ci/legacy_project/all_packages/android/gradle/wrapper/gradle-wrapper.properties b/.ci/legacy_project/all_packages/android/gradle/wrapper/gradle-wrapper.properties index bc6a58afdd..939efa2951 100644 --- a/.ci/legacy_project/all_packages/android/gradle/wrapper/gradle-wrapper.properties +++ b/.ci/legacy_project/all_packages/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-6.7-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip