Are
you a plugin developer?
Are you tired of huge JAR files?
Do you want to reduce the file size of your plugin?
Do you want to prevent loading the same library multiple times?
The solution is here:
BukkitDependencyLoader
This plugin allows you to load dependencies from any Maven-compatible source directly into the server.
No need to shade your plugins anymore!
Simply add a dependency on this plugin and create a file called dependencies.conf and add each Maven artifact like this:
Add this to your plugin.yml :
Put lines like this into the dependencies.conf :
You can even specify other repositories:
The libraries will be downloaded and made available to all plugins.
Java takes care of preventing duplicates.
An example implementation can be found here.
The dependencies.conf looks like this:
That plugin is completely written in Kotlin but there is no need to shade Kotlin into the JAR, as this plugin loads all libraries prior to loading that plugin.
Are you tired of huge JAR files?
Do you want to reduce the file size of your plugin?
Do you want to prevent loading the same library multiple times?
The solution is here:
BukkitDependencyLoader
This plugin allows you to load dependencies from any Maven-compatible source directly into the server.
No need to shade your plugins anymore!
Simply add a dependency on this plugin and create a file called dependencies.conf and add each Maven artifact like this:
Add this to your plugin.yml :
Code (Text):
depend: [BukkitDependencyLoader]
Put lines like this into the dependencies.conf :
Code (Text):
artifact=<groupid>:<artifactid>:<version>
Code (Text):
repository=<id>:<url>
Java takes care of preventing duplicates.
An example implementation can be found here.
The dependencies.conf looks like this:
Code (Text):
repository=bintray-kotlin-exposed:http://dl.bintray.com/kotlin/exposed
artifact=joda-time:joda-time:2.9.9
artifact=com.h2database:h2:1.4.194
artifact=org.jetbrains.exposed:exposed:0.7.6
artifact=org.jetbrains.kotlin:kotlin-stdlib:1.1.1
artifact=org.jetbrains.kotlin:kotlin-reflect:1.1.1
artifact=org.slf4j:slf4j-jdk14:1.7.25
artifact=joda-time:joda-time:2.9.9
artifact=com.h2database:h2:1.4.194
artifact=org.jetbrains.exposed:exposed:0.7.6
artifact=org.jetbrains.kotlin:kotlin-stdlib:1.1.1
artifact=org.jetbrains.kotlin:kotlin-reflect:1.1.1
artifact=org.slf4j:slf4j-jdk14:1.7.25
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
BukkitDependencyLoader is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 122 times (via Spigot). Download it and open it directly in the game.