forked from firka/flutter
Reland "Upgrade tests to AGP 8.7/Gradle 8.10.2/Kotlin 1.8.10" (#157617)
Reland of https://github.com/flutter/flutter/pull/157032.
Failed tests for initial land:
https://flutter-dashboard.appspot.com/#/build?hashFilter=5ca6350a06fdae8d3e160f9adbece193f34d0302&repo=flutter&branch=master
These two tests run the same `flavors_test`
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_pixel_7pro%20flavors_test/4579/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows_mokey%20flavors_test_win/988/overview
which is now passing
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_pixel_7pro%20flavors_test/37/overview
(fixed by 23c62df1dc)
The other failures seem to be flakes
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_pixel_7pro%20new_gallery_impeller_old_zoom__transition_perf/4902/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20tool_integration_tests_2_5/1247/overview
the first is a timeout, the second passed in presubmit on the original PR and also on this PR.
This commit is contained in:
@@ -47,24 +47,24 @@ const String ndkVersion = '26.1.10909125';
|
||||
// Update these when new major versions of Java are supported by new Gradle
|
||||
// versions that we support.
|
||||
// Source of truth: https://docs.gradle.org/current/userguide/compatibility.html
|
||||
const String oneMajorVersionHigherJavaVersion = '23';
|
||||
const String oneMajorVersionHigherJavaVersion = '24';
|
||||
|
||||
// Update this when new versions of Gradle come out including minor versions
|
||||
// and should correspond to the maximum Gradle version we test in CI.
|
||||
//
|
||||
// Supported here means supported by the tooling for
|
||||
// flutter analyze --suggestions and does not imply broader flutter support.
|
||||
const String maxKnownAndSupportedGradleVersion = '8.7';
|
||||
const String maxKnownAndSupportedGradleVersion = '8.10.2';
|
||||
|
||||
// Update this when new versions of AGP come out.
|
||||
//
|
||||
// Supported here means tooling is aware of this version's Java <-> AGP
|
||||
// compatibility.
|
||||
@visibleForTesting
|
||||
const String maxKnownAndSupportedAgpVersion = '8.4.0';
|
||||
const String maxKnownAndSupportedAgpVersion = '8.7.1';
|
||||
|
||||
// Update this when new versions of AGP come out.
|
||||
const String maxKnownAgpVersion = '8.5';
|
||||
const String maxKnownAgpVersion = '8.7.1';
|
||||
|
||||
// Oldest documented version of AGP that has a listed minimum
|
||||
// compatible Java version.
|
||||
@@ -714,7 +714,8 @@ String getGradleVersionFor(String androidPluginVersion) {
|
||||
GradleForAgp(agpMin: '8.2.0', agpMax: '8.2.99', minRequiredGradle: '8.2'),
|
||||
GradleForAgp(agpMin: '8.3.0', agpMax: '8.3.99', minRequiredGradle: '8.4'),
|
||||
GradleForAgp(agpMin: '8.4.0', agpMax: '8.4.99', minRequiredGradle: '8.6'),
|
||||
GradleForAgp(agpMin: '8.5.0', agpMax: '100.100', minRequiredGradle: '8.7'),
|
||||
GradleForAgp(agpMin: '8.5.0', agpMax: '8.6.99', minRequiredGradle: '8.7'),
|
||||
GradleForAgp(agpMin: '8.7.0', agpMax: '8.7.99', minRequiredGradle: '8.9'),
|
||||
// Assume if AGP is newer than this code know about return the highest gradle
|
||||
// version we know about.
|
||||
GradleForAgp(agpMin: maxKnownAgpVersion, agpMax: maxKnownAgpVersion, minRequiredGradle: maxKnownAndSupportedGradleVersion),
|
||||
@@ -904,6 +905,12 @@ String getGradlewFileName(Platform platform) {
|
||||
/// of Gradle, as https://docs.gradle.org/current/userguide/compatibility.html
|
||||
/// details.
|
||||
List<JavaGradleCompat> _javaGradleCompatList = const <JavaGradleCompat>[
|
||||
JavaGradleCompat(
|
||||
javaMin: '23',
|
||||
javaMax: '24',
|
||||
gradleMin: '8.10',
|
||||
gradleMax: maxKnownAndSupportedGradleVersion,
|
||||
),
|
||||
JavaGradleCompat(
|
||||
javaMin: '22',
|
||||
javaMax: '23',
|
||||
|
||||
Reference in New Issue
Block a user