BukkitGradle icon indicating copy to clipboard operation
BukkitGradle copied to clipboard

Better dependency management

Open osipxd opened this issue 7 months ago • 0 comments

There are four types of dependencies:

  • Server API (spigot-api, paper-api, bukkit) - compileOnly
  • Third-party plugins - compileOnly, should be listed in depend, softdepend or loadbefore, should be added to a dev server
  • Libraries - implementation, should be added to libraries in plugin.yml
  • Embedded libraries - implementationor api, should be shaded and supplied in fat JAR

It would be great to provide support in correct configuring of all of these types. For example, by providing additional configurations (like it's done for libraries in plugin-yml plugin)

One more point about third-party plugins is that sometimes it is hard to add it into the project as a dependency. So providing an ability to add depedencies from Paper Hangar or Modrinth would be nice.

osipxd avatar Apr 18 '25 19:04 osipxd