Reapply "[ Device Lab ] Upgrade Device Lab projects to Java 18" (#166016) (#166059)

This reverts commit
8dccbc33df.

Find/replace didn't catch the use of `jvmTarget = "1.8"` in
`dev/integration_tests/android_engine_test/android/app/build.gradle` and
`android_engine_test` needed to have `"com.android.application"`
updated.
This commit is contained in:
Ben Konyi
2025-03-27 11:07:22 -04:00
committed by GitHub
parent 2befeb9e04
commit 7cb926a33d
16 changed files with 36 additions and 42 deletions

View File

@@ -105,12 +105,6 @@ class AndroidRunOutputTest extends RunOutputTask {
}
}
@override
bool isExpectedStderr(String line) {
// TODO(egarciad): Remove once https://github.com/flutter/flutter/issues/95131 is fixed.
return line.contains('Mapping new ns');
}
@override
TaskResult verify(List<String> stdout, List<String> stderr) {
final String gradleTask = release ? 'assembleRelease' : 'assembleDebug';