diff --git a/build.gradle b/build.gradle index e8e7a5b..85f1a2b 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' } @@ -23,17 +23,15 @@ if (System.getenv("BUILD_NUMBER") != null) { 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 64d7d1b..bfb976e 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 + + +