Skip to content

Commit

Permalink
Additional profile to allow build in Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Sep 12, 2023
1 parent 7c3e81d commit 6319ad3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -598,5 +598,26 @@ under the License.
</plugins>
</build>
</profile>
<profile>
<id>java21+</id>
<activation>
<jdk>[21,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<configuration>
<java>
<palantirJavaFormat>
<version>2.36.0</version>
</palantirJavaFormat>
</java>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 6319ad3

Please sign in to comment.