Skip to content

Commit b93fe75

Browse files
committed
Bump Google Java Format
1 parent 318a3a8 commit b93fe75

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pom.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
9292
<jshell-maven-plugin.version>1.4</jshell-maven-plugin.version>
9393
<spotless.version>3.0.0</spotless.version>
94-
<google-java-format.version>1.19.2</google-java-format.version>
94+
<google-java-format.version>1.28.0</google-java-format.version>
9595
<!--
9696
These groovy scripts are used later in this POM file to generate
9797
source files and resources for the library itself and for the
@@ -516,6 +516,15 @@
516516
<scope>test</scope>
517517
</dependency>
518518

519+
520+
<!-- add explicitly to update automatically with dependabot -->
521+
<dependency>
522+
<groupId>com.google.googlejavaformat</groupId>
523+
<artifactId>google-java-format</artifactId>
524+
<version>${google-java-format.version}</version>
525+
<scope>test</scope>
526+
</dependency>
527+
519528
</dependencies>
520529

521530
<dependencyManagement>
@@ -788,6 +797,7 @@
788797
<version>${google-java-format.version}</version>
789798
<style>GOOGLE</style>
790799
</googleJavaFormat>
800+
<removeUnusedImports />
791801
</java>
792802
<!-- <ratchetFrom>origin/main</ratchetFrom>-->
793803
<licenseHeader> <!-- specify either content or file, but not both -->

0 commit comments

Comments
 (0)