Skip to content

Commit 49b84b7

Browse files
authored
Merge branch 'main' into dependabot/gradle/packages/path_provider/path_provider_android/android/com.android.tools.build-gradle-8.9.1
2 parents 749543f + c3c4c5a commit 49b84b7

File tree

1,484 files changed

+27867
-65303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,484 files changed

+27867
-65303
lines changed

.ci.yaml

Lines changed: 8 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ platform_properties:
9090
[
9191
{"dependency": "ruby", "version": "ruby_3.1-pod_1.13"}
9292
]
93-
os: Mac-14
93+
os: Mac-14|Mac-15.5
9494
device_type: none
9595
cpu: arm64
9696
$flutter/osx_sdk : >-
@@ -103,7 +103,7 @@ platform_properties:
103103
[
104104
{"dependency": "ruby", "version": "ruby_3.1-pod_1.13"}
105105
]
106-
os: Mac-14
106+
os: Mac-14|Mac-15.5
107107
device_type: none
108108
cpu: x86
109109
$flutter/osx_sdk : >-
@@ -322,21 +322,21 @@ targets:
322322
timeout: 30
323323
properties:
324324
target_file: analyze_legacy.yaml
325-
channel: "3.24.5"
325+
channel: "3.29.3"
326326
env_variables: >-
327327
{
328-
"CHANNEL": "3.24.5"
328+
"CHANNEL": "3.29.3"
329329
}
330330
331331
- name: Linux analyze_legacy N-2
332332
recipe: packages/packages
333333
timeout: 30
334334
properties:
335335
target_file: analyze_legacy.yaml
336-
channel: "3.22.3"
336+
channel: "3.27.4"
337337
env_variables: >-
338338
{
339-
"CHANNEL": "3.22.3"
339+
"CHANNEL": "3.27.4"
340340
}
341341
342342
- name: Linux_android custom_package_tests master
@@ -395,66 +395,27 @@ targets:
395395
properties:
396396
version_file: flutter_master.version
397397
# This builds the all_packages app only in a current JDK.
398-
target_file: android_build_all_packages_jdk17.yaml
398+
target_file: android_build_all_packages.yaml
399399
channel: master
400400
env_variables: >-
401401
{
402402
"CHANNEL": "master"
403403
}
404404
405-
- name: Linux_android android_build_all_packages_legacy master
406-
recipe: packages/packages
407-
timeout: 30
408-
properties:
409-
version_file: flutter_master.version
410-
# TODO(stuartmorgan): Once stable requires JDK 17, and the
411-
# legacy project is updated accordingly, this entire target
412-
# can be merged back into android_build_all_packages.
413-
# This file only builds a *legacy* version of the project.
414-
target_file: android_build_all_packages_legacy.yaml
415-
channel: master
416-
# The legacy project build requires an older JDK.
417-
dependencies: >-
418-
[
419-
{"dependency": "open_jdk", "version": "version:11"}
420-
]
421-
env_variables: >-
422-
{
423-
"CHANNEL": "master"
424-
}
425-
426405
- name: Linux_android android_build_all_packages stable
427406
recipe: packages/packages
428407
timeout: 30
429408
properties:
430409
add_recipes_cq: "true"
431410
version_file: flutter_stable.version
432411
# This builds the all_packages app only in a current JDK.
433-
target_file: android_build_all_packages_jdk17.yaml
412+
target_file: android_build_all_packages.yaml
434413
channel: stable
435414
env_variables: >-
436415
{
437416
"CHANNEL": "stable"
438417
}
439418
440-
- name: Linux_android android_build_all_packages_legacy stable
441-
recipe: packages/packages
442-
timeout: 30
443-
properties:
444-
version_file: flutter_stable.version
445-
# This file only builds a *legacy* version of the project.
446-
target_file: android_build_all_packages_legacy.yaml
447-
channel: stable
448-
# The legacy project build requires an older JDK.
449-
dependencies: >-
450-
[
451-
{"dependency": "open_jdk", "version": "version:11"}
452-
]
453-
env_variables: >-
454-
{
455-
"CHANNEL": "stable"
456-
}
457-
458419
- name: Linux_android android_platform_tests_shard_1 master
459420
recipe: packages/packages
460421
timeout: 60

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3ed38e24528aaa9f988ba61c8a56340590220c27
1+
d8baa77b38461e7061e06e72c6bf50d64d302b8c

.ci/flutter_stable.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c23637390482d4cf9598c3ce3f2be31aa7332daf
1+
b25305a8832cfc6ba632a7f87ad455e319dccce8

.ci/legacy_project/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,17 @@ and then deleting everything but `android/` from it:
3737
- Added license boilerplate.
3838
- Replaced `jcenter` in build.gradle with `mavenCentral`, due to the
3939
jcenter.bintray.com shutdown.
40-
- Update `compileSdkVersion` from 30 to 33 to maintain compatibility
41-
with plugins that use API 34.
42-
- Updates `gradle-wrapper.properties` from `6.7` to `6.7.1`, to add
43-
support for the Kotlin gradle plugin. If a user runs into this
44-
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.
40+
- Update `compileSdkVersion` from 30 to `flutter.compileSdkVersion` in
41+
`build.gradle` to maintain compatibility with plugins that use
42+
Flutter's most recently supported API version.
4943
- 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
44+
from 6.7 to 8.4. If a user runs into an error with the Gradle
5145
version, the warning is clear on how to upgrade the version to
52-
one that we support.
46+
one that we support.
47+
- Modifies `settings.gradle` to upgrade the Android Gradle Plugin (AGP)
48+
from version 4.1.0 (originally set in `build.gradle`; see bullet below)
49+
to 8.3.0. If a user runs into an error with the AGP version, the warning
50+
is clear on how to upgrade the version to one that we support.
51+
- Refactor plugin to use declarative Gradle apply instead of the
52+
imperative apply (this includes moving where the Android Gradle
53+
Plugin (AGP) version is set from `build.gradle` to `settings.gradle`).

.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-7.0.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip

.ci/legacy_project/all_packages/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919
// See https://github.com/flutter/flutter/blob/master/docs/ecosystem/Plugins-and-Packages-repository-structure.md#gradle-structure for more info.
2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "7.0.0" apply false
22+
id "com.android.application" version "8.3.0" apply false
2323
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
2424
}
2525

.ci/targets/android_build_all_packages_legacy.yaml renamed to .ci/targets/android_build_all_packages.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
# This only builds the legacy all_packages app, which requires jdk11
1+
# This builds the modern all_packages app and the legacy all_packages app.
22
tasks:
33
- name: prepare tool
44
script: .ci/scripts/prepare_tool.sh
55
infra_step: true # Note infra steps failing prevents "always" from running.
6+
- name: create all_packages app
7+
script: .ci/scripts/create_all_packages_app.sh
8+
infra_step: true # Note infra steps failing prevents "always" from running.
9+
- name: build all_packages for Android debug
10+
script: .ci/scripts/build_all_packages_app.sh
11+
args: ["apk", "debug"]
12+
- name: build all_packages for Android release
13+
script: .ci/scripts/build_all_packages_app.sh
14+
args: ["apk", "release"]
615
- name: create all_packages app - legacy version
716
script: .ci/scripts/create_all_packages_app_legacy.sh
817
# Output dir; must match the final argument to build_all_packages_app_legacy

.ci/targets/android_build_all_packages_jdk17.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.ci/targets/repo_checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks:
2828
script: .ci/scripts/tool_runner.sh
2929
args:
3030
- "pubspec-check"
31-
- "--min-min-flutter-version=3.22.0"
31+
- "--min-min-flutter-version=3.27.0"
3232
- "--allow-dependencies=script/configs/allowed_unpinned_deps.yaml"
3333
- "--allow-pinned-dependencies=script/configs/allowed_pinned_deps.yaml"
3434
always: true

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ updates:
3333
- /packages/extension_google_sign_in_as_googleapis_auth/example/android/app
3434
- /packages/file_selector/file_selector/example/android/app
3535
- /packages/file_selector/file_selector_android/example/android/app
36-
- /packages/flutter_adaptive_scaffold/example/android/app
37-
- /packages/flutter_image/example/android/app
38-
- /packages/flutter_markdown/example/android/app
3936
- /packages/flutter_plugin_android_lifecycle/example/android/app
4037
- /packages/go_router/example/android/app
4138
- /packages/google_maps_flutter/google_maps_flutter/example/android/app
@@ -49,7 +46,6 @@ updates:
4946
- /packages/image_picker/image_picker_android/example/android/app
5047
- /packages/local_auth/local_auth_android/example/android/app
5148
- /packages/local_auth/local_auth/example/android/app
52-
- /packages/palette_generator/example/android/app
5349
- /packages/path_provider/path_provider/example/android/app
5450
- /packages/path_provider/path_provider_android/example/android/app
5551
- /packages/pigeon/example/app/android/app

0 commit comments

Comments
 (0)