Skip to content

Commit 464c2b0

Browse files
committed
bump Java Language Level up to 16
1 parent a83f0f0 commit 464c2b0

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,16 @@
103103
<artifactId>maven-compiler-plugin</artifactId>
104104
<version>3.8.1</version>
105105
<configuration>
106-
<source>1.8</source>
107-
<target>1.8</target>
106+
<release>8</release>
107+
<source>16</source>
108+
<target>16</target>
108109
<encoding>UTF-8</encoding>
109110
<!--Use this comments args when compiler is NullPointerException-->
110111
<!--<forceJavacCompilerUse>true</forceJavacCompilerUse>-->
112+
<compilerArgs>
113+
<arg>-Xplugin:jabel</arg>
114+
<arg>--enable-preview</arg>
115+
</compilerArgs>
111116
</configuration>
112117
</plugin>
113118
<plugin>
@@ -948,5 +953,11 @@
948953
<systemPath>${project.basedir}/lib/IridiumSkyblock-3.1.1.jar</systemPath>
949954
<scope>system</scope>
950955
</dependency>
956+
<dependency>
957+
<groupId>com.github.bsideup.jabel</groupId>
958+
<artifactId>jabel-javac-plugin</artifactId>
959+
<version>0.4.1</version>
960+
<scope>provided</scope>
961+
</dependency>
951962
</dependencies>
952963
</project>

0 commit comments

Comments
 (0)