Skip to content

Commit ff0870f

Browse files
committed
Upgrade to git-code-format-maven-plugin 4.2
1 parent 8831b0b commit ff0870f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<logback>1.2.11</logback>
3333
<junit.version>5.9.0</junit.version>
3434
<auto-service.version>1.0-rc7</auto-service.version>
35-
<git-code-format-maven-plugin.version>3.5</git-code-format-maven-plugin.version>
35+
<git-code-format-maven-plugin.version>4.2</git-code-format-maven-plugin.version>
3636
</properties>
3737

3838
<dependencyManagement>
@@ -149,6 +149,14 @@
149149
</goals>
150150
</execution>
151151
</executions>
152+
<dependencies>
153+
<!-- Enable https://github.com/google/google-java-format -->
154+
<dependency>
155+
<groupId>com.cosium.code</groupId>
156+
<artifactId>google-java-format</artifactId>
157+
<version>${git-code-format-maven-plugin.version}</version>
158+
</dependency>
159+
</dependencies>
152160
</plugin>
153161
<plugin>
154162
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)