generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 50
Setup
Juuxel edited this page Dec 20, 2020
·
5 revisions
This is how to get LibGui into your development environment:
-
Add the Cotton repository:
repositories { maven { name = "CottonMC" url = "https://server.bbkr.space/artifactory/libs-release" } }
Note: This is not the same
repositories
as the one inpublishing
! You have to add the repository to a top-levelrepositories
block. -
Add the dependency, replacing
<version>
with your desired LibGui version:dependencies { modImplementation include("io.github.cottonmc:LibGui:<version>") }
The
include
makes Loom bundle LibGui within your mod jar.