mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-09-18 02:27:53 +02:00
Compare commits
1 Commits
renovate/w
...
fix/binary
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3c1d1d5aba |
@@ -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 {
|
dependencies {
|
||||||
api(projects.plotsquaredCore)
|
api(projects.plotsquaredCore)
|
||||||
|
|
||||||
@@ -28,20 +41,13 @@ dependencies {
|
|||||||
implementation(libs.paperlib)
|
implementation(libs.paperlib)
|
||||||
|
|
||||||
// Plugins
|
// Plugins
|
||||||
compileOnly(libs.worldeditBukkit) {
|
compileOnly(libs.worldeditBukkit)
|
||||||
exclude(group = "org.bukkit")
|
|
||||||
exclude(group = "org.spigotmc")
|
|
||||||
}
|
|
||||||
compileOnly(libs.faweBukkit) { isTransitive = false }
|
compileOnly(libs.faweBukkit) { isTransitive = false }
|
||||||
testImplementation(libs.faweBukkit) { isTransitive = false }
|
testImplementation(libs.faweBukkit) { isTransitive = false }
|
||||||
compileOnly(libs.vault) {
|
compileOnly(libs.vault)
|
||||||
exclude(group = "org.bukkit")
|
|
||||||
}
|
|
||||||
compileOnly(libs.placeholderapi)
|
compileOnly(libs.placeholderapi)
|
||||||
compileOnly(libs.luckperms)
|
compileOnly(libs.luckperms)
|
||||||
compileOnly(libs.essentialsx) {
|
compileOnly(libs.essentialsx)
|
||||||
exclude(group = "org.spigotmc")
|
|
||||||
}
|
|
||||||
compileOnly(libs.mvdwapi) { isTransitive = false }
|
compileOnly(libs.mvdwapi) { isTransitive = false }
|
||||||
|
|
||||||
// Other libraries
|
// Other libraries
|
||||||
|
Reference in New Issue
Block a user