Skip to content

Addon development: Unable to resolve BentoBox 3.20.x / 3.21.x Maven dependency #3045

Description

@qwe664

Expected behavior

I expected Gradle to successfully resolve the BentoBox dependency and compile the addon.

According to the documentation, using:

compileOnly("world.bentobox:bentobox:3.20.0")

should work for addon development.

Observed/Actual behavior

I'm developing a BentoBox addon.

According to the documentation, I added:

repositories {
maven("https://repo.codemc.io/repository/maven-public/")
}

dependencies {
compileOnly("world.bentobox:bentobox:3.20.0")
}

Running Gradle results in:

Could not find world.bentobox:bentobox:3.20.0

I also checked the CodeMC repository and it only contains versions up to 2.7.0.

Steps/models to reproduce

  1. Create a new BentoBox addon project.
  2. Add the Maven repository from the documentation.
  3. Add compileOnly("world.bentobox:bentobox:3.20.0")
  4. Run ./gradlew build.
  5. Gradle cannot resolve the dependency.

BentoBox version

/bbox version

Running on PAPER 26.2
26.2-2614-3c029ce (MC: 26.2)

BentoBox version: 3.20.0

Installed addons:

  • Bank 1.10.1 (ENABLED)
  • Biomes 2.3.2 (ENABLED)
  • BSkyBlock 1.20.0 (ENABLED)
  • Challenges 1.7.0 (ENABLED)
  • ControlPanel 1.16.0 (ENABLED)
  • Level 2.27.0 (ENABLED)
  • Warps 1.19.0 (ENABLED)

Plugin list

/plugins

Server Plugins (18)

Paper Plugins (0)

Bukkit Plugins (18):

  • BentoBox
  • BentoBox-Bank
  • BentoBox-Biomes
  • BentoBox-BSkyBlock
  • BentoBox-Challenges
  • BentoBox-ControlPanel
  • BentoBox-Level
  • BentoBox-Warps
  • DeluxeMenus
  • DiscordSRV
  • Essentials
  • EssentialsSpawn
  • floodgate
  • Geyser-Spigot
  • GlobalGamerule
  • LuckPerms
  • PlaceholderAPI
  • Vault

Other

This issue is about addon development rather than a server runtime bug.

The current documentation recommends using the Maven dependency:

world.bentobox:bentobox:

However, I cannot resolve BentoBox 3.20.0 or 3.21.0.

Could you please confirm:

  • The correct Maven repository
  • The correct groupId/artifactId
  • Whether BentoBox 3.20.x / 3.21.x is published to Maven for addon developers

I'm trying to develop a third-party BentoBox addon (BentoBox Bedrock Companion) and would like to follow the officially supported way of depending on the BentoBox API.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions