Test AGP 8.0 using java 17 (#125323)

- Update Gradle/AGP version and add namespace plus dependencies. 

https://github.com/flutter/flutter/issues/125181
This commit is contained in:
Reid Baker
2023-05-08 11:02:31 -04:00
committed by GitHub
parent 4ed1c92303
commit 0fdddd67f9
19 changed files with 464 additions and 332 deletions

View File

@@ -74,19 +74,17 @@ void main() {
], workingDirectory: pluginExampleAppDir.path);
// Check error message is thrown
expect(result.stdout,
contains('Warning: The plugin test_plugin requires Android SDK version 31.')
);
expect(result.stderr,
contains('''
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to ${projectGradleFile.path}:
android {
compileSdkVersion 31
...
}
'''
));
});
expect(
result.stdout,
contains(
'Warning: The plugin test_plugin requires Android SDK version 31.'));
expect(
result.stderr,
contains('One or more plugins require a higher Android SDK version.'),
);
expect(
result.stderr,
contains(
'Fix this issue by adding the following to ${projectGradleFile.path}'));
});
}