Gradle Setup - TehBrian/Mayi GitHub Wiki
1. add the library to your project
Mayi is published on https://repo.tehbrian.dev.
Replace [latest version] with the library's latest release.
repositories {
maven("https://repo.tehbrian.dev/releases/")
}
dependencies {
implementation("dev.tehbrian:mayi-paper:[latest version]")
}
2. shade and relocate the dependency
Replace [your plugin package] with your plugin's package.
plugins {
id("com.gradleup.shadow") version "9.4.2"
}
tasks.shadowJar {
relocate("dev.tehbrian.mayi", "[your plugin package].libs.mayi")
}