Skip to content

Commit ab70359

Browse files
committed
Fix Gradle API dependency resolution
Avoid WorldGuard's strict transitive runtime constraints while retaining the API modules needed for compilation against Paper 26.2.
1 parent e6c1644 commit ab70359

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

core/build.gradle.kts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@ dependencies {
55
implementation("org.bstats:bstats-bukkit:3.1.0")
66
compileOnly("org.geysermc.floodgate:api:2.2.2-SNAPSHOT")
77
implementation("com.cronutils:cron-utils:9.2.0")
8-
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.14")
8+
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.14") {
9+
isTransitive = false
10+
}
11+
compileOnly("com.sk89q.worldguard:worldguard-core:7.0.14") {
12+
isTransitive = false
13+
}
14+
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.3.9") {
15+
isTransitive = false
16+
}
17+
compileOnly("com.sk89q.worldedit:worldedit-core:7.3.9") {
18+
isTransitive = false
19+
}
920
compileOnly(files("lib/MythicLib-dist-1.7.1-20251205.145545-63.jar"))
1021
compileOnly("net.Indyuce:MMOItems-API:6.10.1-SNAPSHOT")
1122
compileOnly("com.github.LoneDev6:api-itemsadder:2.3.8")

0 commit comments

Comments
 (0)