From c4350bb0af034b64fb6eff44ace18e9213a1238e Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sun, 21 Apr 2024 14:50:08 -0500 Subject: [PATCH 1/7] Fix FAWE logging on newer builds --- build.gradle | 11 +++-- pom.xml | 29 +++++++++----- .../listener/block/BlockFromToListener.java | 2 +- .../worldedit/CoreProtectLogger.java | 40 ++++++++++++++----- 4 files changed, 57 insertions(+), 25 deletions(-) diff --git a/build.gradle b/build.gradle index ea9e65a4..58fb5b4a 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ import org.apache.tools.ant.filters.ReplaceTokens plugins { id 'java' - id 'com.github.johnrengelman.shadow' version '7.1.2' + id 'com.github.johnrengelman.shadow' version '8.1.1' id 'com.palantir.git-version' version '0.13.0' } @@ -25,15 +25,14 @@ logger.info("Building version $version") repositories { jcenter() maven { url = 'https://hub.spigotmc.org/nexus/content/groups/public/' } - maven { url = 'https://papermc.io/repo/repository/maven-public/' } + maven { url = 'https://repo.papermc.io/repository/maven-public/' } maven { url = 'https://repo.codemc.org/repository/maven-public/' } - maven { url = 'https://maven.enginehub.org/repo/' } } dependencies { - compileOnly('com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT') { - exclude group: 'org.bukkit' - } + implementation(platform("com.intellectualsites.bom:bom-newest:1.44")) // Ref: https://github.com/IntellectualSites/bom + compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core") + compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit") compileOnly 'io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT' implementation 'org.bstats:bstats-bukkit-lite:1.8' implementation 'com.zaxxer:HikariCP:5.0.1' diff --git a/pom.xml b/pom.xml index 0c035ad7..0fad0792 100755 --- a/pom.xml +++ b/pom.xml @@ -88,11 +88,18 @@ codemc-repo https://repo.codemc.org/repository/maven-public/ - - enginehub-repo - https://maven.enginehub.org/repo/ - + + + + com.intellectualsites.bom + bom-newest + 1.44 + import + pom + + +