Setting Your Mod Up - XDPXI/XDLib GitHub Wiki
build.gradle
Setup your 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}")
gradle.properties
Add the verion of mod in Add the mod as a dependency to depends
xdlib_version=2.1.4
fabric.mod.json
Require the mod in Add the mod as a dependency to depends
"xdlib": ">=2.1.3"