Bumped to Java 16 & 1.17

This commit is contained in:
SBDeveloper 2021-07-21 12:35:35 +02:00
parent fd67ae6f32
commit 583cb591ca
2 changed files with 17 additions and 10 deletions

25
pom.xml
View file

@ -6,7 +6,7 @@
<groupId>me.mctp</groupId> <groupId>me.mctp</groupId>
<artifactId>MCTPAudio</artifactId> <artifactId>MCTPAudio</artifactId>
<version>1.3.1</version> <version>1.4</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>MCTPAudio</name> <name>MCTPAudio</name>
@ -17,15 +17,22 @@
</properties> </properties>
<url>https://mcthemeparks.eu</url> <url>https://mcthemeparks.eu</url>
<pluginRepositories>
<pluginRepository>
<id>maven-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
<build> <build>
<defaultGoal>clean package</defaultGoal> <defaultGoal>clean package</defaultGoal>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>3.9.0-SNAPSHOT</version>
<configuration> <configuration>
<release>11</release> <release>16</release>
<compilerArgs> <compilerArgs>
<arg>-parameters</arg> <arg>-parameters</arg>
</compilerArgs> </compilerArgs>
@ -34,7 +41,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.4</version> <version>3.3.1-SNAPSHOT</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
@ -90,13 +97,13 @@
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>
<version>1.16.5-R0.1-SNAPSHOT</version> <version>1.17.1-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.java-websocket</groupId> <groupId>org.java-websocket</groupId>
<artifactId>Java-WebSocket</artifactId> <artifactId>Java-WebSocket</artifactId>
<version>1.5.1</version> <version>1.5.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mpatric</groupId> <groupId>com.mpatric</groupId>
@ -106,7 +113,7 @@
<dependency> <dependency>
<groupId>com.sk89q.worldguard</groupId> <groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId> <artifactId>worldguard-bukkit</artifactId>
<version>7.0.5-SNAPSHOT</version> <version>7.0.6-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -134,13 +141,13 @@
<dependency> <dependency>
<groupId>com.bergerkiller.bukkit</groupId> <groupId>com.bergerkiller.bukkit</groupId>
<artifactId>BKCommonLib</artifactId> <artifactId>BKCommonLib</artifactId>
<version>1.16.5-v2</version> <version>1.17.1-v1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.bergerkiller.bukkit</groupId> <groupId>com.bergerkiller.bukkit</groupId>
<artifactId>TrainCarts</artifactId> <artifactId>TrainCarts</artifactId>
<version>1.16.5-v1</version> <version>1.17.1-v1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View file

@ -1,7 +1,7 @@
name: MCTPAudio name: MCTPAudio
version: ${project.version} version: ${project.version}
main: nl.sbdeveloper.mctpaudio.MCTPAudio main: nl.sbdeveloper.mctpaudio.MCTPAudio
api-version: 1.16 api-version: 1.17
depend: [ WorldGuard, Train_Carts ] depend: [ WorldGuard, Train_Carts ]
authors: [ SBDeveloper ] authors: [ SBDeveloper ]
description: The audio plugin of MCThemeParks! description: The audio plugin of MCThemeParks!