Require Java 16

This commit is contained in:
nossr50 2021-11-08 17:36:06 -08:00
parent def676d8d7
commit 4bf2ad46ea

17
pom.xml
View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId> <groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId> <artifactId>mcMMO</artifactId>
<version>2.1.202</version> <version>2.1.203-SNAPSHOT</version>
<name>mcMMO</name> <name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url> <url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm> <scm>
@ -14,6 +14,9 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
<java.version>16</java.version>
</properties> </properties>
<issueManagement> <issueManagement>
@ -99,11 +102,10 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>3.8.1</version>
<configuration> <configuration>
<release>16</release>
<compilerArgs> <compilerArgs>
<arg>-parameters</arg> <!-- used for ACF syntax stuff --> <arg>-parameters</arg> <!-- used for ACF syntax stuff -->
</compilerArgs> </compilerArgs>
<source>1.8</source>
<target>1.8</target>
<excludes> <excludes>
</excludes> </excludes>
</configuration> </configuration>
@ -128,7 +130,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.2.3</version> <version>3.3.0-SNAPSHOT</version>
<configuration> <configuration>
<artifactSet> <artifactSet>
<includes> <includes>
@ -207,6 +209,13 @@
</extension> </extension>
</extensions> </extensions>
</build> </build>
<pluginRepositories>
<pluginRepository>
<id>maven-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
<repositories> <repositories>
<repository> <repository>
<id>spigot-repo</id> <id>spigot-repo</id>