Skip to content

Java files under src/*/groovy aren't detected by default #59

Closed
@ajoberstar

Description

@ajoberstar

Spotless Version 2.4

In projects that do joint Java/Groovy compilation, you often need some or all of the Java files to be under the src/main/groovy directory. Spotless currently uses sourceSets.main.java to get the Java files to format by default. Using sourceSets.main.allJava would pick up the full set of Java source in these joint compile scenarios and the existing use case.

I should have a PR ready today for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions