Setup - CottonMC/LibGui GitHub Wiki
This is how to get LibGui into your development environment:
-
Add the Maven repository:
repositories { maven { name = "AlexIIL" url = "https://staging.alexiil.uk/maven/" } }Note: This is not the same
repositoriesas the one inpublishing! You have to add the repository to a top-levelrepositoriesblock. -
Add the dependency, replacing
<version>with your desired LibGui version:dependencies { modImplementation include("io.github.cottonmc:LibGui:<version>") }The
includemakes Loom bundle LibGui within your mod jar.