Skip to content
Juuxel edited this page Dec 20, 2020 · 5 revisions

This is how to get LibGui into your development environment:

  1. 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 in publishing! You have to add the repository to a top-level repositories block.

  2. 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.

    Here's the latest version: Maven metadata URL