Skip to content

Commit

Permalink
Merge pull request #4409 from johannescoetzee/johannes/spotless-plugin
Browse files Browse the repository at this point in the history
Add spotless plugin configuration
  • Loading branch information
jlerbsc committed Jun 12, 2024
2 parents ab902c7 + 49dd3ed commit 031f6d8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,20 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<!-- This is the last version with Java 8 support -->
<version>2.30.0</version>
<configuration>
<!-- limit format enforcement to just the files changed by this feature branch -->
<ratchetFrom>origin/master</ratchetFrom>
<java>
<!-- google-java-format, but better: see https://github.com/palantir/palantir-java-format -->
<palantirJavaFormat/>
</java>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit 031f6d8

Please sign in to comment.