Skip to content

Logged message to fix formatting violations is incorrect when applied to a composite build #2421

Open
@MariaSolOs

Description

@MariaSolOs

If the plugin is applied to a composite build, the suggested command to fix spotless violations is incorrect.

E.g.: Consider the setup below.

my-composite
├── settings.gradle
├── build.gradle
└── my-utils
    ├── settings.gradle
    ├── build.gradle

If I apply this plugin in my-utils/build.gradle, a violation inside my-utils would be fixed by running ./gradlew :my-utils:spotlessApply. However this plugin suggests running :spotlessApply instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions