jump up to JDK17

This commit is contained in:
yui-Kitamura 2023-02-13 08:23:36 +09:00
parent 460cb21c62
commit 8eb60bf578
2 changed files with 44 additions and 8 deletions

24
pom.xml
View File

@ -4,7 +4,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bukkitVersion>1.13.1-R0.1-SNAPSHOT</bukkitVersion>
<bukkitVersion>1.15.2-R0.1-SNAPSHOT</bukkitVersion>
<mainClass>${project.groupId}.${project.artifactId}</mainClass>
<api.version>1.7</api.version>
</properties>
@ -12,7 +12,7 @@
<!-- Project information -->
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>${api.version}.3</version>
<version>${api.version}.3_JDK17</version>
<name>Vault</name>
<url>https://dev.bukkit.org/projects/vault</url>
<description>Vault is a Chat, Permissions &amp; Economy API to allow plugins to more easily hook into these systems without needing to hook each individual system themselves.</description>
@ -40,12 +40,12 @@
<repository>
<id>pub-repo</id>
<name>Public Releases</name>
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
<url>https://nexus.hc.to/content/repositories/pub_releases/</url>
</repository>
<snapshotRepository>
<id>pub-repo</id>
<name>Public Snapshots</name>
<url>http://nexus.hc.to/content/repositories/pub_snapshots/</url>
<url>https://nexus.hc.to/content/repositories/pub_snapshots/</url>
</snapshotRepository>
</distributionManagement>
@ -53,7 +53,7 @@
<repository>
<id>pub-repo</id>
<name>Public Releases</name>
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
<url>https://nexus.hc.to/content/repositories/pub_releases/</url>
</repository>
<repository>
<id>spigot-repo</id>
@ -61,7 +61,7 @@
</repository>
<repository>
<id>escapecraft-repo</id>
<url>http://dev.escapecraft.com/maven</url>
<url>https://dev.escapecraft.com/maven</url>
</repository>
<repository>
<id>codemc-repo</id>
@ -237,6 +237,14 @@
<scope>system</scope>
<systemPath>${project.basedir}/lib/overpermissions-2.0.0.jar</systemPath>
</dependency>
<dependency>
<!-- https://mvnrepository.com/artifact/org.apache.clerezza.ext/org.json.simple -->
<groupId>org.apache.clerezza.ext</groupId>
<artifactId>org.json.simple</artifactId>
<version>0.4</version>
</dependency>
</dependencies>
<build>
@ -257,8 +265,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
<plugin>

28
src/module-info.java Normal file
View File

@ -0,0 +1,28 @@
module Vault {
requires java.logging;
requires DroxPerms;
requires EssentialsGroupManager;
requires KPerms;
requires PermissionsBukkit;
requires PermissionsEx;
requires Privileges;
requires SimplyPerms;
requires Starburst;
requires TotalPermissions;
requires VaultAPI;
requires Xperms;
requires bpermissions;
requires bpermissions25;
requires bstats.base;
requires bstats.bukkit;
requires iChat;
requires json.simple;
requires mChat;
requires mChatSuite;
requires org.bukkit;
requires overpermissions;
requires rscPermissions;
requires org.json.simple;
exports net.milkbowl.vault;
}