Setup
Fabric
gradle.properties
gradle.propertiesAdd the mod versions to gradle.properties
xdlib_version=4.0.0-beta.3+fabricbuild.gradle
build.gradleAdd the maven to your repositories
maven { url = "https://api.modrinth.com/maven" }Once you have added that you will add the mod implementations to the dependencies
modImplementation("maven.modrinth:xdlib:${project.xdlib_version}")fabric.mod.json
fabric.mod.jsonAdd the mod to your depends
"depends": {
"xdlib": ">=4.0.0-beta.3"
}Forge
gradle.properties
gradle.propertiesAdd the mod version to gradle.properties
build.gradle
build.gradleAdd the mod as a dependency from below
Once you have added that you will add the mod implementation to the dependencies
NeoForge
gradle.properties
gradle.propertiesAdd the mod version to gradle.properties
build.gradle
build.gradleAdd the mod as a dependency from below
Once you have added that you will add the mod implementation to the dependencies
Last updated