Skip to content

Commit

Permalink
Reformat to google style with spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
mboehm committed Mar 28, 2024
1 parent 7366d53 commit f6bc4e7
Show file tree
Hide file tree
Showing 201 changed files with 62,337 additions and 62,014 deletions.
62 changes: 31 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,37 @@

<build>
<plugins>
<!-- <plugin>-->
<!-- &lt;!&ndash; https://github.com/diffplug/spotless/tree/main/plugin-maven &ndash;&gt;-->
<!-- <groupId>com.diffplug.spotless</groupId>-->
<!-- <artifactId>spotless-maven-plugin</artifactId>-->
<!-- <version>${spotless.maven.plugin.version}</version>-->
<!-- <inherited>true</inherited>-->
<!-- <configuration>-->
<!-- <java>-->
<!-- <includes>-->
<!-- <include>src/main/java/**/*.java</include>-->
<!-- <include>src/test/java/**/*.java</include>-->
<!-- </includes>-->
<!-- <googleJavaFormat>-->
<!-- &lt;!&ndash;Note: JVM 8, is limited to google-java-format 1.7.&ndash;&gt;-->
<!-- <version>1.7</version>-->
<!-- <style>GOOGLE</style>-->
<!-- </googleJavaFormat>-->
<!-- <importOrder/>-->
<!-- <removeUnusedImports/>-->
<!-- </java>-->
<!-- </configuration>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>auto-style</id>-->
<!-- <goals>-->
<!-- <goal>apply</goal>-->
<!-- </goals>-->
<!-- <phase>validate</phase>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<!-- https://github.com/diffplug/spotless/tree/main/plugin-maven -->
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.maven.plugin.version}</version>
<inherited>true</inherited>
<configuration>
<java>
<includes>
<include>src/main/java/**/*.java</include>
<include>src/test/java/**/*.java</include>
</includes>
<googleJavaFormat>
<!--Note: JVM 8, is limited to google-java-format 1.7.-->
<version>1.7</version>
<style>GOOGLE</style>
</googleJavaFormat>
<importOrder/>
<removeUnusedImports/>
</java>
</configuration>
<executions>
<execution>
<id>auto-style</id>
<goals>
<goal>apply</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
Loading

0 comments on commit f6bc4e7

Please sign in to comment.