Skip to content

Commit

Permalink
Enable spotless for code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Jun 20, 2023
1 parent f53e81b commit 9773f11
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
<mavenVersion>3.5.4</mavenVersion>
<!-- Override version set in parent -->
<mojo.java.target>8</mojo.java.target>
<recommendedJavaBuildVersion>11</recommendedJavaBuildVersion>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -228,6 +229,20 @@
</dependencies>

<profiles>
<profile>
<id>java11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>run-its</id>
<build>
Expand Down

0 comments on commit 9773f11

Please sign in to comment.