Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

MinecraftMediaLibrary/emc-dependency-management

Repository files navigation

EMC Dependency Management

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();

Setup

  1. Add the repository:
repositories { 
    maven("https://pulsebeat02.jfrog.io/artifactory/minecraftmedialibrary/");
}
  1. Add the dependency:
dependencies {
    implementation("io.github.pulsebeat02:emc-dependency-management:v1.0.0")
}