Unverified Commit fc77dd90 authored by Gustl22's avatar Gustl22 Committed by GitHub

Adapt wording for required Android SDK for plugins (#140043)

Solves https://github.com/flutter/flutter/pull/137115#discussion_r1388251047
parent 935775cb
......@@ -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.'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment