Skip to content

Commit

Permalink
Bump Java compliance to 21.
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-yur authored Sep 29, 2023
1 parent 6b81573 commit 71af6bc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>19</source>
<target>19</target>
<compilerArgument>--enable-preview</compilerArgument>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
</plugins>
Expand All @@ -44,7 +43,6 @@
<configuration>
<mainClass>gameoflife.Main</mainClass>
<buildArgs>
<arg>--enable-preview</arg>
<arg>--install-exit-handlers</arg>
</buildArgs>
</configuration>
Expand Down Expand Up @@ -73,7 +71,6 @@
<configuration>
<mainClass>gameoflife.Main</mainClass>
<buildArgs>
<arg>--enable-preview</arg>
<arg>--install-exit-handlers</arg>
<arg>--gc=G1</arg>
<!-- <arg>- -pgo-instrument</arg> -->
Expand Down

0 comments on commit 71af6bc

Please sign in to comment.