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.

Activity

  1. added
    team-androidOwned by Android platform team
    P2Important issues not at the top of the work list
    on Jan 27, 2026
  2. self-assigned this
    on Jan 27, 2026
  3. added a commit that references this issue on Jan 28, 2026
    0bd69d2
  4. added a commit that references this issue on Feb 10, 2026
    848c099
  5. github-actions commented on Feb 11, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listteam-androidOwned by Android platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions