Skip to content

Commit 910b241

Browse files
Joo200wizjany
authored andcommitted
Drop spigot api as dependency in gradle
1 parent 5f8e5ea commit 910b241

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

gradle/libs.versions.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ junit-jupiter-api.module = "org.junit.jupiter:junit-jupiter-api"
2727
junit-jupiter-params.module = "org.junit.jupiter:junit-jupiter-params"
2828
junit-jupiter-engine.module = "org.junit.jupiter:junit-jupiter-engine"
2929

30-
spigot = "org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT"
3130
paperApi = "io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT"
3231
paperLib = "io.papermc:paperlib:1.0.8"
3332

worldguard-bukkit/build.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,10 @@ plugins {
55
id("buildlogic.platform")
66
}
77

8-
val localImplementation = configurations.create("localImplementation") {
9-
description = "Dependencies used locally, but provided by the runtime Bukkit implementation"
10-
isCanBeConsumed = false
11-
isCanBeResolved = false
12-
}
13-
configurations["compileOnly"].extendsFrom(localImplementation)
14-
configurations["testImplementation"].extendsFrom(localImplementation)
15-
168
dependencies {
179
"api"(project(":worldguard-core"))
1810
"api"(libs.worldedit.bukkit) { isTransitive = false }
1911
"compileOnly"(libs.commandbook) { isTransitive = false }
20-
// Technically this is api, but everyone should already have some form of the bukkit API
21-
// Avoid pulling in another one, especially one so outdated.
22-
"localImplementation"(libs.spigot) {
23-
exclude("junit", "junit")
24-
}
2512

2613
"compileOnly"(libs.jetbrains.annotations) {
2714
because("Resolving Spigot annotations")

0 commit comments

Comments
 (0)