Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ajoberstar opened this issue Jan 2, 2017 · 2 comments
Closed

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

ajoberstar opened this issue Jan 2, 2017 · 2 comments

Comments

@ajoberstar
Copy link
Contributor

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.

@nedtwigg
Copy link
Member

nedtwigg commented Jan 2, 2017

Released in 2.4.1, available on gradle plugin portal and jcenter, but not yet mavencentral due to a sync error. It'll get to mavencentral eventually...

@nedtwigg
Copy link
Member

nedtwigg commented Jan 2, 2017

Just made it to mavencentral.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants