Skip to content

Commit

Permalink
[Re-land] Bump legacy all_packages project AGP version to 7.0.0, Grad…
Browse files Browse the repository at this point in the history
…le version to 7.0.2 (#6742)

Re-lands #6591.

The only difference between that PR and this one is that this PR bumps the required Flutter version of Android facing packages to the latest Flutter stable version (3.22) that weren't doing so already. That is because the stable version includes the warning about using older versions of Android dependencies.
  • Loading branch information
camsim99 authored May 29, 2024
1 parent 82a811f commit 5c60fdc
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .ci/legacy_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@ and then deleting everything but `android/` from it:
- 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.
- Modifies `build.gradle` to upgrade the Android Gradle Plugin (AGP)
from version 4.1.0 to 7.0.0. If a user runs into an error with
the AGP version, the warning is clear on how to upgrade
the version to one that we support.
- Modifies `gradle-wrapper.properties` to upgrade the Gradle version
from 6.7.1 to 7.0.2. If a user runs into an error with the Gradle
version, the warning is clear on how to upgrade the version to
one that we support.
2 changes: 1 addition & 1 deletion .ci/legacy_project/all_packages/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:7.0.0'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
4 changes: 4 additions & 0 deletions packages/camera/camera_android_camerax/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

* Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.

## 0.6.5+2

* Update to latest stable camerax `1.3.3`.
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_android_camerax/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+
version: 0.6.5+2

environment:
sdk: ^3.2.0
flutter: ">=3.16.0"
sdk: ^3.4.0
flutter: ">=3.22.0"

flutter:
plugin:
Expand Down
4 changes: 4 additions & 0 deletions packages/file_selector/file_selector_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

* Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.

## 0.5.1+2

* Bumps androidx.annotation:annotation from 1.7.1 to 1.8.0.
Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+
version: 0.5.1+2

environment:
sdk: ^3.2.0
flutter: ">=3.16.0"
sdk: ^3.4.0
flutter: ">=3.22.0"

flutter:
plugin:
Expand Down

0 comments on commit 5c60fdc

Please sign in to comment.