Skip to content

Commit 2339bfe

Browse files
authored
Merge branch 'main' into main
2 parents 4db9a59 + ac41376 commit 2339bfe

File tree

176 files changed

+2592
-3364
lines changed

Some content is hidden

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

176 files changed

+2592
-3364
lines changed

.ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,3 +963,5 @@ targets:
963963
timeout: 30
964964
runIf:
965965
- .ci.yaml
966+
properties:
967+
backfill: "false"

.ci/Dockerfile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,3 @@
44
FROM cirrusci/flutter@sha256:d99b1ba2602240a74722970b5c0cd704bbe60a7eba7557157c784f2f693c393f
55

66
RUN apt-get update -y
7-
8-
# Set up Firebase Test Lab requirements.
9-
RUN apt-get install -y --no-install-recommends gnupg
10-
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \
11-
sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
12-
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
13-
sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
14-
RUN apt-get update && apt-get install -y google-cloud-sdk && \
15-
gcloud config set core/disable_usage_reporting true && \
16-
gcloud config set component_manager/disable_update_check true

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c00d241938b1b1ddf09121ce7e1cc62873f7af91
1+
436df69a4684aaf7d0d1b09b61bb29c75b32ad61

.ci/scripts/analyze_pathified.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ set -e
1010
# This uses --run-on-dirty-packages rather than --packages-for-branch
1111
# since only the packages changed by 'make-deps-path-based' need to be
1212
# re-checked.
13+
# --skip-if-resolving-fails is used to avoid failing if there's a resolution
14+
# conflict when using path-based dependencies, because that indicates that
15+
# the failing packages won't pick up the new versions of the changed packages
16+
# when they are published anyway, so publishing won't cause an out-of-band
17+
# failure regardless.
1318
dart ./script/tool/bin/flutter_plugin_tools.dart analyze --run-on-dirty-packages \
19+
--skip-if-resolving-fails \
1420
--log-timing --custom-analysis=script/configs/custom_analysis.yaml
1521
# Restore the tree to a clean state, to avoid accidental issues if
1622
# other script steps are added to the enclosing task.

packages/animations/example/android/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ buildscript {
1313

1414
allprojects {
1515
repositories {
16+
// See https://github.com/flutter/flutter/wiki/Plugins-and-Packages-repository-structure#gradle-structure for more info.
17+
def artifactRepoKey = 'ARTIFACT_HUB_REPOSITORY'
18+
if (System.getenv().containsKey(artifactRepoKey)) {
19+
println "Using artifact hub"
20+
maven { url System.getenv(artifactRepoKey) }
21+
}
1622
google()
1723
mavenCentral()
1824
}

packages/animations/example/android/settings.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,16 @@ plugins.each { name, path ->
1313
include ":$name"
1414
project(":$name").projectDir = pluginDirectory
1515
}
16+
17+
// See https://github.com/flutter/flutter/wiki/Plugins-and-Packages-repository-structure#gradle-structure for more info.
18+
buildscript {
19+
repositories {
20+
maven {
21+
url "https://plugins.gradle.org/m2/"
22+
}
23+
}
24+
dependencies {
25+
classpath "gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin:2.2.1"
26+
}
27+
}
28+
apply plugin: "com.google.cloud.artifactregistry.gradle-plugin"

packages/camera/camera/example/android/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ buildscript {
1111

1212
allprojects {
1313
repositories {
14+
// See https://github.com/flutter/flutter/wiki/Plugins-and-Packages-repository-structure#gradle-structure for more info.
15+
def artifactRepoKey = 'ARTIFACT_HUB_REPOSITORY'
16+
if (System.getenv().containsKey(artifactRepoKey)) {
17+
println "Using artifact hub"
18+
maven { url System.getenv(artifactRepoKey) }
19+
}
1420
google()
1521
mavenCentral()
1622
}

packages/camera/camera/example/android/settings.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,16 @@ plugins.each { name, path ->
1313
include ":$name"
1414
project(":$name").projectDir = pluginDirectory
1515
}
16+
17+
// See https://github.com/flutter/flutter/wiki/Plugins-and-Packages-repository-structure#gradle-structure for more info.
18+
buildscript {
19+
repositories {
20+
maven {
21+
url "https://plugins.gradle.org/m2/"
22+
}
23+
}
24+
dependencies {
25+
classpath "gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin:2.2.1"
26+
}
27+
}
28+
apply plugin: "com.google.cloud.artifactregistry.gradle-plugin"

packages/camera/camera_android/example/android/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ buildscript {
1111

1212
allprojects {
1313
repositories {
14+
// See https://github.com/flutter/flutter/wiki/Plugins-and-Packages-repository-structure#gradle-structure for more info.
15+
def artifactRepoKey = 'ARTIFACT_HUB_REPOSITORY'
16+
if (System.getenv().containsKey(artifactRepoKey)) {
17+
println "Using artifact hub"
18+
maven { url System.getenv(artifactRepoKey) }
19+
}
1420
google()
1521
mavenCentral()
1622
}

packages/camera/camera_android/example/android/settings.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,16 @@ plugins.each { name, path ->
1313
include ":$name"
1414
project(":$name").projectDir = pluginDirectory
1515
}
16+
17+
// See https://github.com/flutter/flutter/wiki/Plugins-and-Packages-repository-structure#gradle-structure for more info.
18+
buildscript {
19+
repositories {
20+
maven {
21+
url "https://plugins.gradle.org/m2/"
22+
}
23+
}
24+
dependencies {
25+
classpath "gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin:2.2.1"
26+
}
27+
}
28+
apply plugin: "com.google.cloud.artifactregistry.gradle-plugin"

0 commit comments

Comments
 (0)