Skip to content

Commit 4e0c970

Browse files
v1.12.13+hotfix.8 cherry-picks - gradle upgrades (flutter#50489)
1 parent afb2006 commit 4e0c970

File tree

8 files changed

+28
-37
lines changed

8 files changed

+28
-37
lines changed

dev/ci/docker_linux/Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,6 @@ ENV PATH="${ANDROID_TOOLS_ROOT}/tools/bin:${PATH}"
9090
RUN mkdir -p ~/.android
9191
RUN touch ~/.android/repositories.cfg
9292

93-
# Setup gradle
94-
ENV GRADLE_ROOT="/opt/gradle"
95-
RUN mkdir -p "${GRADLE_ROOT}"
96-
ENV GRADLE_ARCHIVE="${GRADLE_ROOT}/gradle.zip"
97-
ENV GRADLE_URL="http://services.gradle.org/distributions/gradle-4.4-bin.zip"
98-
RUN wget --progress=dot:giga "$GRADLE_URL" -O "${GRADLE_ARCHIVE}"
99-
RUN unzip -q -d "${GRADLE_ROOT}" "${GRADLE_ARCHIVE}"
100-
ENV PATH="$GRADLE_ROOT/bin:$PATH"
101-
10293
# Add npm to path.
10394
ENV PATH="/usr/bin:${PATH}"
10495
RUN dpkg-query -L nodejs

dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/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-4.10.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

dev/integration_tests/android_splash_screens/splash_screen_load_rotate/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-4.10.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/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-4.10.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

dev/integration_tests/module_host_with_custom_build/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-4.10.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

dev/integration_tests/module_host_with_custom_build_v2_embedding/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-4.10.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

packages/flutter/test/widgets/shadow_test.dart

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -95,34 +95,34 @@ void main() {
9595
debugDisableShadows = true;
9696
}, skip: isBrowser);
9797

98-
testWidgets('Shadows with PhysicalShape', (WidgetTester tester) async {
99-
debugDisableShadows = false;
100-
Widget build(double elevation) {
101-
return Center(
102-
child: RepaintBoundary(
103-
child: Container(
104-
padding: const EdgeInsets.all(150.0),
105-
color: Colors.yellow[200],
106-
child: PhysicalShape(
107-
color: Colors.green[900],
108-
clipper: ShapeBorderClipper(shape: BeveledRectangleBorder(borderRadius: BorderRadius.circular(20.0))),
109-
elevation: elevation,
110-
child: const SizedBox(
111-
height: 100.0,
112-
width: 100.0,
98+
for (final int elevation in kElevationToShadow.keys) {
99+
testWidgets('Shadows with PhysicalShape $elevation', (WidgetTester tester) async {
100+
debugDisableShadows = false;
101+
Widget build(double elevation) {
102+
return Center(
103+
child: RepaintBoundary(
104+
child: Container(
105+
padding: const EdgeInsets.all(150.0),
106+
color: Colors.yellow[200],
107+
child: PhysicalShape(
108+
color: Colors.green[900],
109+
clipper: ShapeBorderClipper(shape: BeveledRectangleBorder(borderRadius: BorderRadius.circular(20.0))),
110+
elevation: elevation,
111+
child: const SizedBox(
112+
height: 100.0,
113+
width: 100.0,
114+
),
113115
),
114116
),
115117
),
116-
),
117-
);
118-
}
119-
for (int elevation in kElevationToShadow.keys) {
118+
);
119+
}
120120
await tester.pumpWidget(build(elevation.toDouble()));
121121
await expectLater(
122122
find.byType(Container),
123123
matchesGoldenFile('shadow.PhysicalShape.$elevation.png'),
124124
);
125-
}
126-
debugDisableShadows = true;
127-
});
125+
debugDisableShadows = true;
126+
});
127+
}
128128
}

packages/flutter_tools/templates/plugin/android.tmpl/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

0 commit comments

Comments
 (0)