Skip to content

Commit 66aee71

Browse files
committed
Add Spotless Maven plugin to fix formatter workflow
1 parent 207d805 commit 66aee71

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@
3232
</archive>
3333
</configuration>
3434
</plugin>
35+
36+
<!-- Spotless code formatter -->
37+
<plugin>
38+
<groupId>com.diffplug.spotless</groupId>
39+
<artifactId>spotless-maven-plugin</artifactId>
40+
<version>2.43.0</version>
41+
<configuration>
42+
<java>
43+
<googleJavaFormat>
44+
<version>1.17.0</version>
45+
<style>AOSP</style>
46+
</googleJavaFormat>
47+
</java>
48+
</configuration>
49+
</plugin>
3550
</plugins>
3651
</build>
3752
</project>

0 commit comments

Comments
 (0)