Skip to content

Duplicate clean task #521

Closed
Closed
@AllanWang

Description

@AllanWang

As of spotless 3.27.0, it seems like a clean task is created. I'm not sure about now, but at least a year ago, all new projects had a clean task created by the IDE by default:

task clean(type: Delete) {
    delete rootProject.buildDir
}

The fix for us is to remove the inline clean task.

If this is expected, consider adding this in the changelog. If this is not expected, can we avoid the naming conflict somehow?

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