Shading

1

Add Repository

repositories {
    maven { url 'https://jitpack.io' }
}
2

Add Dependency

dependencies {
    implementation 'com.github.SytexMC:Stylize:2.0.0'
}
3

Shade & Relocate Dependency

plugins {
    id 'com.gradleup.shadow' version '8.3.6'
}

tasks {
    shadowJar {
        // TODO: Change this to my own package name
        relocate("me.sytex.stylize", "my.custom.package.stylize")
    }
}

Last updated