Skip to content

Getting Started

Witherking25 edited this page Jan 31, 2022 · 6 revisions

Adding to Gradle

Mine GUI is built on Architectury, so it was designed to be used in architectury mods.

For Architectury Mods

add this to your root build.gradle

allprojects {
    repositories {
        maven {
            url = "http://maven.withertech.com/repository/withertech/"
            allowInsecureProtocol = true
        }
    }
}

add this to your forge build.gradle

dependencies {
    modImplementation "com.withertech:mine_gui-forge:1.0.0"
}

add this to your fabric build.gradle

dependencies {
    modImplementation "com.withertech:mine_gui-fabric:1.0.0"
}

add this to your common build.gradle

dependencies {
    modImplementation "com.withertech:mine_gui:1.0.0"
}

For Fabric Only Mods

add this to your build.gradle

repositories {
    maven { url "https://maven.architectury.dev/" }
    maven {
        url = "http://maven.withertech.com/repository/withertech/"
        allowInsecureProtocol = true
    }
}
dependencies {
    modImplementation "com.withertech:mine_gui-fabric:1.0.0"
}

For Forge Only Mods

add this to your build.gradle

repositories {
    maven { url "https://maven.architectury.dev/" }
    maven {
        url = "http://maven.withertech.com/repository/withertech/"
        allowInsecureProtocol = true
    }
}
dependencies {
    implementation fg.deobf("com.withertech:mine_gui-forge:1.0.0")
}

Clone this wiki locally