Add optional WorldEdit soft-dependency; use its wand selection for pos1/pos2
Build / build (push) Successful in 1m19s
Build / build (push) Successful in 1m19s
This commit is contained in:
@@ -17,6 +17,7 @@ repositories {
|
||||
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
|
||||
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
|
||||
maven { url = 'https://jitpack.io' }
|
||||
maven { url = 'https://maven.enginehub.org/repo/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -25,6 +26,15 @@ dependencies {
|
||||
compileOnly('com.github.MilkBowl:VaultAPI:1.7') {
|
||||
exclude group: 'org.bukkit', module: 'bukkit'
|
||||
}
|
||||
// transitive = false: we only need WorldEdit's API types at compile time (it's never
|
||||
// shaded/bundled - the real WorldEdit plugin provides everything at runtime), and its
|
||||
// transitive deps pin strict versions of guava/gson/fastutil that conflict with paper-api's.
|
||||
compileOnly('com.sk89q.worldedit:worldedit-bukkit:7.3.8') {
|
||||
transitive = false
|
||||
}
|
||||
compileOnly('com.sk89q.worldedit:worldedit-core:7.3.8') {
|
||||
transitive = false
|
||||
}
|
||||
implementation 'org.xerial:sqlite-jdbc:3.47.1.0'
|
||||
implementation 'com.mysql:mysql-connector-j:9.1.0'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user