Adapt wording for required Android SDK for plugins (#140043)
Solves https://github.com/flutter/flutter/pull/137115#discussion_r1388251047
This commit is contained in:
parent
935775cb74
commit
fc77dd90d4
@ -441,7 +441,7 @@ class FlutterPlugin implements Plugin<Project> {
|
||||
pluginProject.afterEvaluate {
|
||||
// Checks if there is a mismatch between the plugin compileSdkVersion and the project compileSdkVersion.
|
||||
if (pluginProject.android.compileSdkVersion > project.android.compileSdkVersion) {
|
||||
project.logger.quiet("Warning: The plugin ${pluginName} requires Android SDK version ${getCompileSdkFromProject(pluginProject)}.")
|
||||
project.logger.quiet("Warning: The plugin ${pluginName} requires Android SDK version ${getCompileSdkFromProject(pluginProject)} or higher.")
|
||||
project.logger.quiet("For more information about build configuration, see $kWebsiteDeploymentAndroidBuildConfig.")
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ void main() {
|
||||
expect(
|
||||
result.stdout,
|
||||
contains(
|
||||
'Warning: The plugin test_plugin requires Android SDK version 31.'));
|
||||
'Warning: The plugin test_plugin requires Android SDK version 31 or higher.'));
|
||||
expect(
|
||||
result.stderr,
|
||||
contains('One or more plugins require a higher Android SDK version.'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user