Skip to content

use Gradle's Kotlin DSL in plugin templates #161703

@StephenWithPH

Description

@StephenWithPH

Use case

This request builds on #151166 to ask that templates for plugins also create build.gradle.kts for Android.

Using Flutter 3.27.2, flutter create --template plugin --platforms android produces Android code with Groovy Gradle files.

See https://github.com/flutter/flutter/tree/3.27.2/packages/flutter_tools/templates/plugin/android-kotlin.tmpl .

Proposal

See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versiont: 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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions