Gradle 💻
Adding to the build file
Add this repository to your repositories block:
repositories {
maven {
name = "gravemc-repo"
url = "https://repo.gravemc.net/releases/"
}
}
and then add dependency:
dependencies {
implementation 'dev.iiahmed:ModernDisguise:3.0'
}
Shadowing & Relocating
You can relocate the package as well, here's an example shadowJar plugin block:
shadowJar {
relocate("dev.iiahmed.disguise", "example.package.shade")
}
make sure you use the shadowJar plugin in order to include the library in your jar.
Last updated