Update a few dependencies

This commit is contained in:
NotMyFault 2021-04-27 11:46:14 +02:00
parent 3ada55989f
commit 823beaf268
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
4 changed files with 10 additions and 9 deletions

4
.github/FUNDING.yml vendored
View File

@ -1,8 +1,8 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: [NotMyFault, dordsor21, SirYwell]
patreon: IntellectualSites # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
open_collective: IntellectualSites
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry

View File

@ -42,7 +42,7 @@ dependencies {
compile("se.hyperver.hyperverse:Core:0.6.0-SNAPSHOT"){ transitive = false }
compile('com.sk89q:squirrelid:1.0.0-SNAPSHOT'){ transitive = false }
compile('be.maximvdw:MVdWPlaceholderAPI:3.1.1'){ transitive = false }
implementation("de.notmyfault:serverlib:1.0.1")
implementation("org.incendo.serverlib:ServerLib:2.1.0")
}
sourceCompatibility = 1.8
@ -102,7 +102,7 @@ shadowJar {
include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT"))
include(dependency("com.sk89q:squirrelid:1.0.0-SNAPSHOT"))
include(dependency("com.intellectualsites.paster:Paster:1.0.2-SNAPSHOT"))
include(dependency("de.notmyfault:serverlib:1.0.1"))
include(dependency("org.incendo.serverlib:ServerLib:2.1.0"))
}
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib")
@ -110,7 +110,7 @@ shadowJar {
relocate('com.sk89q.squirrelid', 'com.plotsquared.squirrelid')
relocate('org.khelekore.prtree', 'com.plotsquared.prtree')
relocate('com.intellectualsites.paster', 'com.plotsquared.core.paster')
relocate('de.notmyfault', 'com.plotsquared.bukkit')
relocate('org.incendo.serverlib', 'com.plotsquared.bukkit')
archiveFileName = "${project.name}-${parent.version}.jar"
destinationDirectory = file "../target"
}

View File

@ -183,9 +183,9 @@
</exclusions>
</dependency>
<dependency>
<groupId>de.notmyfault</groupId>
<artifactId>serverlib</artifactId>
<version>1.0.1</version>
<groupId>org.incendo.serverlib</groupId>
<artifactId>ServerLib</artifactId>
<version>2.1.0</version>
<scope>runtime</scope>
</dependency>
<dependency>

View File

@ -118,7 +118,6 @@ import com.plotsquared.core.uuid.offline.OfflineModeUUIDService;
import com.sk89q.worldedit.WorldEdit;
import com.sk89q.worldedit.bukkit.WorldEditPlugin;
import com.sk89q.worldedit.extension.platform.Actor;
import de.notmyfault.serverlib.ServerLib;
import io.papermc.lib.PaperLib;
import lombok.Getter;
import lombok.NonNull;
@ -140,6 +139,7 @@ import org.bukkit.metadata.FixedMetadataValue;
import org.bukkit.metadata.MetadataValue;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import org.incendo.serverlib.ServerLib;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@ -408,6 +408,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain<
// Check if we are in a safe environment
ServerLib.checkUnsafeForks();
ServerLib.checkJavaLTS();
}
private void unload() {