flutter/packages/flutter_tools/gradle
Zachary Anderson 118c2df776
Allows adding a storage 'realm' to the storage base URL (#131951)
Context: https://github.com/flutter/flutter/issues/131862

This PR injects a "realm" component to the storage base URL when the contents of the file `bin/internal/engine.realm` is non-empty.

As documented in the PR, when the realm is `flutter_archives_v2`, and `bin/internal/engine.version` contains the commit hash for a commit in a `flutter/engine` PR, then the artifacts pulled by the tool will be the artifacts built by the presubmit checks for the PR.

This works for everything but the following two cases:
1. Fuchsia artifacts are not uploaded to CIPD by the Fuchsia presubmit builds.
2. Web artifacts are not uploaded to gstatic by the web engine presubmit builds.

For (1), the flutter/flutter presubmit `fuchsia_precache` is driven by a shell script outside of the repo. It will fail when the `engine.version` and `engine.realm` don't point to a post-submit engine commit.

For (2), the flutter/flutter web presubmit tests that refer to artifacts in gstatic hang when the artifacts aren't found, so this PR skips them.
2023-08-09 23:26:05 +00:00
..
src/main Allows adding a storage 'realm' to the storage base URL (#131951) 2023-08-09 23:26:05 +00:00
.dartignore License update (#45373) 2019-11-27 15:04:02 -08:00
aar_init_script.gradle Allows adding a storage 'realm' to the storage base URL (#131951) 2023-08-09 23:26:05 +00:00
app_plugin_loader.gradle Remove "note that" in our documentation (as per style guide) (#120842) 2023-02-17 22:27:33 +00:00
build.gradle.kts Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511) 2023-04-19 17:56:22 +00:00
flutter_multidex_keepfile.txt Reland "Add multidex flag and automatic multidex support (#90944)" (#92049) 2021-10-19 02:20:39 -07:00
flutter_proguard_rules.pro Reland #39157 (#39798) 2019-09-17 08:19:33 -07:00
flutter.gradle Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511) 2023-04-19 17:56:22 +00:00
manual_migration_settings.gradle.md Don't import plugins that don't support android in settings.gradle (#54407) 2020-04-12 08:55:03 -07:00
module_plugin_loader.gradle Remove "note that" in our documentation (as per style guide) (#120842) 2023-02-17 22:27:33 +00:00
resolve_dependencies.gradle Allows adding a storage 'realm' to the storage base URL (#131951) 2023-08-09 23:26:05 +00:00
settings_aar.gradle.tmpl Flutter build aar (#36732) 2019-07-23 09:27:42 -07:00
settings.gradle.legacy_versions Remove license statements in template files. (#57268) 2020-06-15 09:30:05 -07:00