Skip to content

Android plugin template settings.gradle.kts uses incorrect string format #182962

Description

@stuartmorgan-g

This file was renamed in #173993 from settings.gradle to settings.gradle.kts, but the string format wasn't fixed; Kotlin strings need to use ", not '.

I was curious how this was working, so I tried deleting it locally from a freshly created test plugin (along with the settings.gradle that had been created; that was on stable so may have already been fixed), and the example app still compiled. Maybe this file is unused? Or only used in some edge case (non-flutter-tool) scenarios where gradle commands are being run directly against the plugin project?

We should at least fix the string delimiters, and maybe also figure out if we should just delete the whole file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: pluginsSupport for writing, building, and running plugin packagest: 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