-
Notifications
You must be signed in to change notification settings - Fork 1
Adding to Gradle
Deadlydiamond98 edited this page Aug 2, 2024
·
20 revisions
To add the library to your Project in 1.20.1 add the following (Note: this doesn't work quite yet, as the mod is still waiting for Modrinth approval, I'll remove this once it's approved and allows for this to work)
build.gradle
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
dependencies {
modImplementation "maven.modrinth:magic-bar-lib:${magic_bar_lib_version}"
}
gradle.properties
magic_bar_lib_version= (will put here once Modrinth Approved)
fabric.mod.json (Only if you want your mod to require Magic Bar Lib to boot)
{
"depends": {
"magic-bar-lib": ">=1.0.0"
}
}