Skip to content

flutter create --template=plugin should not create groovy and kotlin source files. #181565

Description

@reidbaker

To reproduce run flutter create --template=plugin --platforms=android

-rw-r--r--  1 user  staff   1.5K Jan 27 17:16 staff_android.iml
-rw-r--r--  1 user  staff   1.5K Jan 27 17:16 build.gradle.kts
-rw-r--r--  1 user  staff    91B Jan 27 17:16 local.properties
-rw-r--r--  1 user  staff    28B Jan 27 17:16 settings.gradle
-rw-r--r--  1 user  staff    28B Jan 27 17:16 settings.gradle.kts
drwxr-xr-x  4 user  staff   128B Jan 27 17:16 src

Possibly a side effect of #173993 which added the kotlin file but did not stop using the groovy file.

This issue tracks removing the groovy file by default, adding a regression test and ensuring the new code works with the --android-language flag.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listteam-androidOwned 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