This commit is contained in:
NotMyFault 2021-08-17 16:38:24 +02:00
parent 33a79595af
commit bfe2dda5b1
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
5 changed files with 39 additions and 40 deletions

View File

@ -53,7 +53,7 @@ dependencies {
implementation(libs.paster) implementation(libs.paster)
// Adventure // Adventure
implementation(libs.platform) implementation(libs.adventurePlatformBukkit)
} }
tasks.processResources { tasks.processResources {

View File

@ -532,7 +532,7 @@ public class Plot {
/** /**
* Efficiently get the players currently inside this plot<br> * Efficiently get the players currently inside this plot<br>
* - Will return an empty list if no players are in the plot<br> * - Will return an empty list if no players are in the plot<br>
* - Remember, you can cast a PlotPlayer to it's respective implementation (BukkitPlayer, SpongePlayer) to obtain the player object * - Remember, you can cast a PlotPlayer to its respective implementation (BukkitPlayer, SpongePlayer) to obtain the player object
* *
* @return list of PlotPlayer(s) or an empty list * @return list of PlotPlayer(s) or an empty list
*/ */

View File

@ -6,9 +6,10 @@ plugins {
java java
`java-library` `java-library`
`maven-publish` `maven-publish`
id("com.github.johnrengelman.shadow") version "7.0.0"
id("org.cadixdev.licenser") version "0.6.1" alias(libs.plugins.shadow)
id("org.ajoberstar.grgit") version "4.1.0" alias(libs.plugins.licenser)
alias(libs.plugins.grgit)
eclipse eclipse
idea idea

View File

@ -1,66 +1,69 @@
[versions] [versions]
checker-qual = "3.16.0" # Minecraft expectations
guava = "21.0" # Version set by Minecraft guava = "21.0" # Version set by Minecraft
gson = "2.8.0" # Version set by Minecraft gson = "2.8.0" # Version set by Minecraft
log4j-api = "2.14.1" # Version set by Minecraft
# Platform expectations
paper = "1.17.1-R0.1-SNAPSHOT"
checker-qual = "3.16.0"
guice = "5.0.1"
findbugs = "3.0.1"
snakeyaml = "1.28" # Version set by Bukkit snakeyaml = "1.28" # Version set by Bukkit
# Adventure & MiniMessage
adventure-api = "4.8.1" adventure-api = "4.8.1"
adventure-text-minimessage = "4.1.0-SNAPSHOT" adventure-text-minimessage = "4.1.0-SNAPSHOT"
adventure-platform-bukkit = "4.0.0-SNAPSHOT" adventure-platform-bukkit = "4.0.0-SNAPSHOT"
guice = "5.0.1" # Plugins
findbugs = "3.0.1"
worldedit = "7.2.6-SNAPSHOT" worldedit = "7.2.6-SNAPSHOT"
fawe = "1.17-93" fawe = "1.17-138"
vault = "1.7" vault = "1.7"
placeholderapi = "2.10.10" placeholderapi = "2.10.10"
luckperms = "5.3" luckperms = "5.3"
essentialsx = "2.18.2" essentialsx = "2.18.2"
hyperverse = "0.6.0-SNAPSHOT" hyperverse = "0.6.0-SNAPSHOT"
mvdwapi = "3.1.1"
log4j-api = "2.14.1" # Version set by Minecraft # Third party
prtree = "1.7.0-SNAPSHOT" prtree = "1.7.0-SNAPSHOT"
aopalliance = "1.0" aopalliance = "1.0"
pipeline = "1.4.0-SNAPSHOT" pipeline = "1.4.0-SNAPSHOT"
arkitektonika = "2.0-SNAPSHOT" arkitektonika = "2.0-SNAPSHOT"
paster = "1.0.2-SNAPSHOT" paster = "1.0.2-SNAPSHOT"
bstats = "2.2.1" bstats = "2.2.1"
paper = "1.17-R0.1-SNAPSHOT"
paperlib = "1.0.6" paperlib = "1.0.6"
mvdwapi = "3.1.1"
squirrelid = "1.0.0-SNAPSHOT" squirrelid = "1.0.0-SNAPSHOT"
serverlib = "2.2.1" serverlib = "2.2.1"
http4j = "1.1-SNAPSHOT" http4j = "1.1-SNAPSHOT"
# Gradle plugins
shadow = "7.0.0"
grgit = "4.1.0"
licenser = "0.6.1"
[libraries] [libraries]
# Expected everywhere. # Platform expectations
paper = { group = "io.papermc.paper", name = "paper-api", version.ref = "paper" }
checkerqual = { group = "org.checkerframework", name = "checker-qual", version.ref = "checker-qual" } checkerqual = { group = "org.checkerframework", name = "checker-qual", version.ref = "checker-qual" }
# Minecraft expectations # Minecraft expectations
guava = { group = "com.google.guava", name = "guava", version.ref = "guava" } guava = { group = "com.google.guava", name = "guava", version.ref = "guava" }
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" } gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
log4j = { group = "org.apache.logging.log4j", name = "log4j-api", version.ref = "log4j-api" }
# Platform expectations # Platform expectations
snakeyaml = { group = "org.yaml", name = "snakeyaml", version.ref = "snakeyaml" } snakeyaml = { group = "org.yaml", name = "snakeyaml", version.ref = "snakeyaml" }
# Adventure
adventure = { group = "net.kyori", name = "adventure-api", version.ref = "adventure-api" }
minimessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "adventure-text-minimessage" }
platform = { group = "net.kyori", name = "adventure-platform-bukkit", version.ref = "adventure-platform-bukkit" }
# Guice
guice = { group = "com.google.inject", name = "guice", version.ref = "guice" } guice = { group = "com.google.inject", name = "guice", version.ref = "guice" }
guiceassistedinject = { group = "com.google.inject.extensions", name = "guice-assistedinject", version.ref = "guice" } guiceassistedinject = { group = "com.google.inject.extensions", name = "guice-assistedinject", version.ref = "guice" }
findbugs = { group = "com.google.code.findbugs", name = "annotations", version.ref = "findbugs" } findbugs = { group = "com.google.code.findbugs", name = "annotations", version.ref = "findbugs" }
# Adventure & MiniMessage
adventure = { group = "net.kyori", name = "adventure-api", version.ref = "adventure-api" }
minimessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "adventure-text-minimessage" }
adventurePlatformBukkit = { group = "net.kyori", name = "adventure-platform-bukkit", version.ref = "adventure-platform-bukkit" }
# Plugins # Plugins
worldeditCore = { group = "com.sk89q.worldedit", name = "worldedit-core", version.ref = "worldedit" } worldeditCore = { group = "com.sk89q.worldedit", name = "worldedit-core", version.ref = "worldedit" }
worldeditBukkit = { group = "com.sk89q.worldedit", name = "worldedit-bukkit", version.ref = "worldedit" } worldeditBukkit = { group = "com.sk89q.worldedit", name = "worldedit-bukkit", version.ref = "worldedit" }
@ -72,25 +75,20 @@ luckperms = { group = "net.luckperms", name = "api", version.ref = "luckperms" }
essentialsx = { group = "net.ess3", name = "EssentialsX", version.ref = "essentialsx" } essentialsx = { group = "net.ess3", name = "EssentialsX", version.ref = "essentialsx" }
hyperverse = { group = "se.hyperver.hyperverse", name = "Core", version.ref = "hyperverse" } hyperverse = { group = "se.hyperver.hyperverse", name = "Core", version.ref = "hyperverse" }
# Logging # Third party
log4j = { group = "org.apache.logging.log4j", name = "log4j-api", version.ref = "log4j-api" }
# Other libraries
prtree = { group = "org.khelekore", name = "prtree", version.ref = "prtree" } prtree = { group = "org.khelekore", name = "prtree", version.ref = "prtree" }
aopalliance = { group = "aopalliance", name = "aopalliance", version.ref = "aopalliance" } aopalliance = { group = "aopalliance", name = "aopalliance", version.ref = "aopalliance" }
pipeline = { group = "com.intellectualsites", name = "Pipeline", version.ref = "pipeline" } pipeline = { group = "com.intellectualsites", name = "Pipeline", version.ref = "pipeline" }
mvdwapi = { group = "be.maximvdw", name = "MVdWPlaceholderAPI", version.ref = "mvdwapi" } mvdwapi = { group = "be.maximvdw", name = "MVdWPlaceholderAPI", version.ref = "mvdwapi" }
squirrelid = { group = "com.sk89q", name = "squirrelid", version.ref = "squirrelid" } squirrelid = { group = "com.sk89q", name = "squirrelid", version.ref = "squirrelid" }
serverlib = { group = "org.incendo.serverlib", name = "ServerLib", version.ref = "serverlib" } serverlib = { group = "org.incendo.serverlib", name = "ServerLib", version.ref = "serverlib" }
bstats = { group = "org.bstats", name = "bstats-bukkit", version.ref = "bstats" }
# Our libraries paperlib = { group = "io.papermc", name = "paperlib", version.ref = "paperlib" }
arkitektonika = { group = "com.intellectualsites.arkitektonika", name = "Arkitektonika-Client", version.ref = "arkitektonika" } arkitektonika = { group = "com.intellectualsites.arkitektonika", name = "Arkitektonika-Client", version.ref = "arkitektonika" }
http4j = { group = "com.intellectualsites.http", name = "HTTP4J", version.ref = "http4j" } http4j = { group = "com.intellectualsites.http", name = "HTTP4J", version.ref = "http4j" }
paster = { group = "com.intellectualsites.paster", name = "Paster", version.ref = "paster" } paster = { group = "com.intellectualsites.paster", name = "Paster", version.ref = "paster" }
# Metrics [plugins]
bstats = { group = "org.bstats", name = "bstats-bukkit", version.ref = "bstats" } shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
grgit = { id = "org.ajoberstar.grgit", version.ref = "grgit" }
# Paper licenser = { id = "org.cadixdev.licenser", version.ref = "licenser" }
paper = { group = "io.papermc.paper", name = "paper-api", version.ref = "paper" }
paperlib = { group = "io.papermc", name = "paperlib", version.ref = "paperlib" }

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists