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

Documentation for usage with spotless gradle/maven plugin #420

Open
atomfrede opened this issue Aug 13, 2020 · 2 comments
Open

Documentation for usage with spotless gradle/maven plugin #420

atomfrede opened this issue Aug 13, 2020 · 2 comments

Comments

@atomfrede
Copy link
Member

Spotless does support prettier and mentions prettier for java. Maybe we should provide examples how to configure spotless with prettier for java.

@pascalgrimaud
Copy link
Member

It has been discussed here #469 (comment) by @jqno

@jqno
Copy link

jqno commented Jun 16, 2021

I adapted my configuration from the documentation over at the Spotless GitHub page

In my comment I refer to these lines in the EqualsVerifier pom. Note that only the first <include> will be necessary for most people: <include>src/*/java/**/*.java</include>. I have an uncommon setup for some unit tests that are specific for certain Java versions (e.g. tests for Java 16's record feature).

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

No branches or pull requests

3 participants