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:
@@ -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}'));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user