Skip to content

Change build language of Android plugin template from Groovy to Kotlin #142685

Description

@albertmoravec

Use case

Flutter 3.16 introduced a new way to apply Gradle plugins using new Plugin DSL (as described here). New apps generated using flutter create use this approach.

I expected this change to affect Android plugins created using flutter create --template=plugin --platforms=android, but it seems like it's not the case. I am missing explanation as to why. Is it intentional or just an oversight?

Tested on latest master.

Proposal

Either include a description as to why Plugin DSL is not (yet?) available for plugins or add implementation to flutter create --template=plugin --platforms=android and a migration guide.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesc: proposalA detailed proposal for a change to Flutterplatform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions