mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-09-18 10:37:54 +02:00
fix: binary incompatibility on 1.21.1
This commit is contained in:
@@ -17,6 +17,19 @@ repositories {
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure we control the exact version of paper being included, while dropping spigot + bukkit
|
||||
configurations.all {
|
||||
exclude("org.bukkit")
|
||||
exclude("org.spigotmc")
|
||||
|
||||
resolutionStrategy.eachDependency {
|
||||
if (requested.group == "io.papermc.paper" && requested.name == "paper-api") {
|
||||
useVersion(checkNotNull(libs.paper.orNull?.version))
|
||||
because("specific paper version is required to prevent binary incompatibilities on older versions")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.plotsquaredCore)
|
||||
|
||||
@@ -28,20 +41,13 @@ dependencies {
|
||||
implementation(libs.paperlib)
|
||||
|
||||
// Plugins
|
||||
compileOnly(libs.worldeditBukkit) {
|
||||
exclude(group = "org.bukkit")
|
||||
exclude(group = "org.spigotmc")
|
||||
}
|
||||
compileOnly(libs.worldeditBukkit)
|
||||
compileOnly(libs.faweBukkit) { isTransitive = false }
|
||||
testImplementation(libs.faweBukkit) { isTransitive = false }
|
||||
compileOnly(libs.vault) {
|
||||
exclude(group = "org.bukkit")
|
||||
}
|
||||
compileOnly(libs.vault)
|
||||
compileOnly(libs.placeholderapi)
|
||||
compileOnly(libs.luckperms)
|
||||
compileOnly(libs.essentialsx) {
|
||||
exclude(group = "org.spigotmc")
|
||||
}
|
||||
compileOnly(libs.essentialsx)
|
||||
compileOnly(libs.mvdwapi) { isTransitive = false }
|
||||
|
||||
// Other libraries
|
||||
|
Reference in New Issue
Block a user