Skip to content

[various] Convert plugin builds to Kotlin gradle#11172

Draft
stuartmorgan-g wants to merge 24 commits intoflutter:mainfrom
stuartmorgan-g:kotlin-gradle-all-plugins
Draft

[various] Convert plugin builds to Kotlin gradle#11172
stuartmorgan-g wants to merge 24 commits intoflutter:mainfrom
stuartmorgan-g:kotlin-gradle-all-plugins

Conversation

@stuartmorgan-g
Copy link
Collaborator

Following up from #11169, this converts all the rest of the plugins in the repository to use Kotlin rather than Groovy for plugin build files. As with that PR, this does not change the example apps, only the plugin builds themselves.

Part of flutter/flutter#176065

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2

auto-submit bot pushed a commit that referenced this pull request Mar 6, 2026
As a precursor to converting plugins to use Kotlin Gradle build files in #11172, this does some final standardization of the Groovy versions:
- Uses `"` instead of `'` on more lines.
- Uses `(...)` and `=` in places where it's optional, instead of just a space.
- Uses `minSdk` instead of `minSdkVersion`.
- Standardizes vertical whitespace (not necessary for the conversion, but it's something I cleaned up in that PR).

This is being done as a precursor PR because I noticed that the files are mostly right on the cusp of being similar enough for git to think they are renames with changes rather than deletion and addition; some are ending up one way, and some the other. Since renames with changes make blame much more useful, I'd like to make the files more similar so that hopefully almost all of them will end up as renames with changes in that PR.

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant