You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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...
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. UsingsourceSets.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.
The text was updated successfully, but these errors were encountered: