From 05f030266f0c8233c7bbe43f97b7e9b2e4a13928 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Mon, 15 May 2023 02:35:47 +0100 Subject: [PATCH] Updated GitHub repository. Added Folia support. Refactored pom.xml. Changed Java version to 17. Updated PlaceholderAPI to 2.11.3. --- pom.xml | 118 ++++++++++++++++++---------------- src/main/resources/plugin.yml | 5 +- 2 files changed, 65 insertions(+), 58 deletions(-) diff --git a/pom.xml b/pom.xml index 9aaac2d..dac697d 100644 --- a/pom.xml +++ b/pom.xml @@ -12,68 +12,19 @@ wikmor me.wikmor.lpc.LPC - 1.8 + 17 UTF-8 - - - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - placeholderapi - https://repo.extendedclip.com/content/repositories/placeholderapi/ - - - - - - maven-snapshots - https://repository.apache.org/content/repositories/snapshots/ - - - - - - org.spigotmc - spigot-api - 1.19-R0.1-SNAPSHOT - provided - - - net.luckperms - api - 5.4 - provided - - - me.clip - placeholderapi - 2.11.2 - provided - - - + clean package ${project.name}-${project.version} - - org.apache.maven.plugins - maven-jar-plugin - - - 3.2.2 - org.apache.maven.plugins maven-compiler-plugin - - - 3.10.1 + 3.8.1 ${java.version} ${java.version} @@ -82,10 +33,16 @@ org.apache.maven.plugins maven-shade-plugin - - - 3.3.1-SNAPSHOT + 3.4.1 + + ${project.build.directory}/dependency-reduced-pom.xml + + + com.tcoded.folialib + me.wikmor.lpc.folialib + + + package @@ -103,4 +60,53 @@ + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + placeholderapi + https://repo.extendedclip.com/content/repositories/placeholderapi/ + + + devmart-other + https://nexuslite.gcnt.net/repos/other/ + + + + + + maven-snapshots + https://repository.apache.org/content/repositories/snapshots/ + + + + + + org.spigotmc + spigot-api + 1.19.4-R0.1-SNAPSHOT + provided + + + net.luckperms + api + 5.4 + provided + + + me.clip + placeholderapi + 2.11.3 + provided + + + com.tcoded + FoliaLib + 0.2.0 + compile + + \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 3627730..32bbf92 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,9 +1,10 @@ -name: ${project.name} +name: LPC description: ${project.description} version: ${project.version} -main: ${main.class} +main: me.wikmor.lpc.LPC author: ${author} api-version: 1.13 +folia-supported: true depend: [LuckPerms] softdepend: [PlaceholderAPI] commands: