Skip to content

Commit 69d648f

Browse files
Enable spotless for code formatting
1 parent b08fba0 commit 69d648f

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
@@ -229,6 +229,7 @@
229229

230230
<properties>
231231
<mavenVersion>3.6.3</mavenVersion>
232+
<recommendedJavaBuildVersion>11</recommendedJavaBuildVersion>
232233
<slf4j.version>1.7.36</slf4j.version>
233234
<invoker.parallelThreads>1C</invoker.parallelThreads>
234235
<project.build.outputTimestamp>2022-07-15T02:43:45Z</project.build.outputTimestamp>
@@ -344,6 +345,20 @@
344345
<invoker.parallelThreads>1</invoker.parallelThreads>
345346
</properties>
346347
</profile>
348+
<profile>
349+
<id>java11+</id>
350+
<activation>
351+
<jdk>[11,)</jdk>
352+
</activation>
353+
<build>
354+
<plugins>
355+
<plugin>
356+
<groupId>com.diffplug.spotless</groupId>
357+
<artifactId>spotless-maven-plugin</artifactId>
358+
</plugin>
359+
</plugins>
360+
</build>
361+
</profile>
347362
<profile>
348363
<id>java17+</id>
349364
<activation>

0 commit comments

Comments
 (0)