EMC Dependency Management is a lightweight dependency that downloads dependencies on runtime for Bukkit Plugins. Example code can be seen here:
final EMCDepManagement management = EMCDepManagement.builder()
.setApplicationName("MyPlugin")
.addArtifact(ofArtifact("me:lucko", "jar-relocator", "1.5"))
.addRelocation(ofRelocation("me:lucko", "io:github:pulsebeat02:lucko"))
.create();
management.load();
- Add the repository:
repositories {
maven("https://pulsebeat02.jfrog.io/artifactory/minecraftmedialibrary/");
}
- Add the dependency:
dependencies {
implementation("io.github.pulsebeat02:emc-dependency-management:v1.0.0")
}