WorldGuard

WorldGuard

8M Downloads

build error

XeonG opened this issue ยท 2 comments

commented

WorldEdit Version

latest

WorldGuard Version

latest

Platform Version

latest

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':worldguard-bukkit:compileJava'.

Could not resolve all dependencies for configuration ':worldguard-bukkit:compileClasspath'.
Could not resolve io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT.
Required by:
project :worldguard-bukkit
> Module 'io.papermc.paper:paper-api' has been rejected:
Cannot select module with conflict on capability 'org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT' also provided by [org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT(compile)]
Could not resolve org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT.
Required by:
project :worldguard-bukkit
> Module 'org.spigotmc:spigot-api' has been rejected:
Cannot select module with conflict on capability 'org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT' also provided by [io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT(apiElements)]

  • Try:

Expected Behavior

latest

Reproduction Steps

latest

Optional WorldGuard-Report

No response

Anything Else?

No response

commented

I am getting the same error.

commented

i got rid of the spigot api reference and it worked.. i think