Skip to content

Commit

Permalink
Support Java 17 in matching (#993)
Browse files Browse the repository at this point in the history
This PR sets the Java version for `scala-maven-plugin` based on the
parent POM, ensuring that we actually support Java 17 everywhere.

Blocked on runtimeverification/k#4032. (Or should be? Not sure why the
build is passing here when `${java.version}` hasn't been set in the
master branch's parent POM yet.)
  • Loading branch information
Scott-Guest authored and Baltoli committed Feb 27, 2024
1 parent d02bebd commit a843db2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions matching/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@
<arg>-language:implicitConversions</arg>
<arg>-language:postfixOps</arg>
</args>
<javacArgs>
<javacArg>-source</javacArg>
<javacArg>${java.version}</javacArg>
<javacArg>-target</javacArg>
<javacArg>${java.version}</javacArg>
</javacArgs>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit a843db2

Please sign in to comment.