Setting Your Mod Up - XDPXI/XDLib GitHub Wiki

Setup your build.gradle

Add the maven to your repositories

maven { url "https://api.modrinth.com/maven" }

Once you have added that you will add the mod implementation to the dependencies

modImplementation("maven.modrinth:xdlib:${project.xdlib_version}")

Add the verion of mod in gradle.properties

Add the mod as a dependency to depends

xdlib_version=2.1.4

Require the mod in fabric.mod.json

Add the mod as a dependency to depends

"xdlib": ">=2.1.3"