Skip to content

Latest commit

 

History

History
64 lines (59 loc) · 1.22 KB

README.md

File metadata and controls

64 lines (59 loc) · 1.22 KB

Trimmed API

NeoForge Only

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    implementation("maven.modrinth:trimmed:1.21.3-4.0.0+neoforge")
}

Fabric Only

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    modImplementation("maven.modrinth:trimmed:1.21.3-4.0.0+fabric")
}

MultiLoader

Root

repositories {
    mavenCentral()
    maven {
        name = "GitHubPackages"
        url = uri("https://maven.pkg.github.com/dhyces/trimmed")
        credentials {
            username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
            password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
        }
    }
}

Common

dependencies {
    runtimeOnly("io.github.llamalad7:mixinextras-common:0.4.1")
    implementation("dev.dhyces.trimmed:trimmed-common-1.21.3:4.0.0")
}

Neo

dependencies {
    implementation("dev.dhyces.trimmed:trimmed-neo-1.21.3:4.0.0")
}

Fabric

dependencies {
    modImplementation("dev.dhyces.trimmed:trimmed-fabric-1.21.3:4.0.0")
}