Skip to content

Commit

Permalink
ignore generated files in formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jem Bishop committed Mar 6, 2024
1 parent 6f952a6 commit 4cbb52a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ java {

spotless {
java {
target project.fileTree(project.rootDir) {
include '**/*.java'
exclude 'build/**/*.*'
}
// don't need to set target, it is inferred from java
// apply a specific flavor of google-java-format
palantirJavaFormat()
Expand Down

0 comments on commit 4cbb52a

Please sign in to comment.