Skip to content

Raise gradle wrapper version of legacy project #6132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 17, 2024

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Feb 14, 2024

When running flutter create for a new plugin on master, this error is printed from the legacy build_all_packages test.

Screenshot 2024-02-09 at 3 08 35 PM

It looks like only 6.7.1 is required to work with new plugins, so this is only a minor bump.

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

(FYI @reidbaker)

@reidbaker
Copy link
Contributor

I dont see why updating to 6.7.1 would fix either compileSdkVersion not being set or calling substring on a null.

https://docs.gradle.org/6.7.1/release-notes.html

@reidbaker reidbaker self-requested a review February 15, 2024 16:50
@bparrishMines
Copy link
Contributor Author

@reidbaker I found the full error again: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8756540924836675809/+/u/Run_package_tests/build_all_packages_for_Android_-_legacy_version/stdout?format=raw

It looks like it is the minimum for kotlin-android

> Failed to apply plugin 'kotlin-android'.
   > The current Gradle version 6.7 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.7.1 or newer, or the previous version of the Kotlin plugin.

The IMA plugin uses Kotlin.

@bparrishMines bparrishMines added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 17, 2024
@auto-submit auto-submit bot merged commit f865baf into flutter:main Feb 17, 2024
@bparrishMines bparrishMines deleted the raise_wrapper branch February 17, 2024 00:54
jason-simmons added a commit to jason-simmons/flutter that referenced this pull request Feb 17, 2024
0af905d [flutter_migrate] Implement lineTerminator in the MemoryStdout fake (flutter/packages#6152)
f865baf Raise gradle wrapper version of legacy project (flutter/packages#6132)
b4d8ad7 Bump github/codeql-action from 3.24.1 to 3.24.3 (flutter/packages#6142)
cc34b78 [ci/various] Update for 3.19 stable (flutter/packages#6147)
10a8b76 Roll Flutter (stable) from 4145645 to bae5e49 (1550 revisions) (flutter/packages#6145)
a36071b Roll Flutter from a628814 to d7867ca (66 revisions) (flutter/packages#6146)
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Feb 17, 2024
0af905d [flutter_migrate] Implement lineTerminator in the MemoryStdout fake (flutter/packages#6152)
f865baf Raise gradle wrapper version of legacy project (flutter/packages#6132)
b4d8ad7 Bump github/codeql-action from 3.24.1 to 3.24.3 (flutter/packages#6142)
cc34b78 [ci/various] Update for 3.19 stable (flutter/packages#6147)
10a8b76 Roll Flutter (stable) from 4145645 to bae5e49 (1550 revisions) (flutter/packages#6145)
a36071b Roll Flutter from a628814 to d7867ca (66 revisions) (flutter/packages#6146)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants