Skip to content

Commit 5c60fdc

Browse files
authored
[Re-land] Bump legacy all_packages project AGP version to 7.0.0, Gradle 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.
1 parent 82a811f commit 5c60fdc

7 files changed

Lines changed: 22 additions & 6 deletions

File tree

.ci/legacy_project/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,11 @@ and then deleting everything but `android/` from it:
4242
- Updates `gradle-wrapper.properties` from `6.7` to `6.7.1`, to add
4343
support for the Kotlin gradle plugin. If a user runs into this
4444
error, the error message is clear on how to upgrade.
45+
- Modifies `build.gradle` to upgrade the Android Gradle Plugin (AGP)
46+
from version 4.1.0 to 7.0.0. If a user runs into an error with
47+
the AGP version, the warning is clear on how to upgrade
48+
the version to one that we support.
49+
- Modifies `gradle-wrapper.properties` to upgrade the Gradle version
50+
from 6.7.1 to 7.0.2. If a user runs into an error with the Gradle
51+
version, the warning is clear on how to upgrade the version to
52+
one that we support.

.ci/legacy_project/all_packages/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:4.1.0'
8+
classpath 'com.android.tools.build:gradle:7.0.0'
99
}
1010
}
1111

.ci/legacy_project/all_packages/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

packages/camera/camera_android_camerax/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
* Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
4+
15
## 0.6.5+2
26

37
* Update to latest stable camerax `1.3.3`.

packages/camera/camera_android_camerax/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+
55
version: 0.6.5+2
66

77
environment:
8-
sdk: ^3.2.0
9-
flutter: ">=3.16.0"
8+
sdk: ^3.4.0
9+
flutter: ">=3.22.0"
1010

1111
flutter:
1212
plugin:

packages/file_selector/file_selector_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
* Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
4+
15
## 0.5.1+2
26

37
* Bumps androidx.annotation:annotation from 1.7.1 to 1.8.0.

packages/file_selector/file_selector_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+
55
version: 0.5.1+2
66

77
environment:
8-
sdk: ^3.2.0
9-
flutter: ">=3.16.0"
8+
sdk: ^3.4.0
9+
flutter: ">=3.22.0"
1010

1111
flutter:
1212
plugin:

0 commit comments

Comments
 (0)