generated from jaredlll08/MultiLoader-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Adding to a Project
Thomas Glasser edited this page Oct 26, 2023
·
4 revisions
To add the mod with the modrinth maven, first add the modrinth repo to your repositories block:
repositories {
maven {
url "https://api.modrinth.com/maven"
}
}Then, add the mod to your dependencies block:
dependencies {
// Fabric/Quilt
include modImplementation("maven.modrinth:shardsapi:<mod_version>+Fabric")
// Forge
implementation fg.deobf("maven.modrinth:shardsapi:<mod_version>+Forge")
jarJar(group: "dev.thomasglasser.shardsapi", name: "shardsapi", version: "[<mod_version>,<next_major_mod_version>)")
}To add the mod with Cursemaven, first add the Cursemaven repo to your repositories block:
repositories {
maven {
url "https://cursemaven.com"
}
}Then, add the mod to your dependencies block:
dependencies {
// Fabric/Quilt
include modImplementation("curse.maven:shardsapi-847583:<file_id>-sources-<sources_file_id>")
// Forge
implementation fg.deobf("curse.maven:dynamiclights-847583:<file_id>-sources-<sources_file_id>")
jarJar(group: "dev.thomasglasser.shardsapi", name: "shardsapi", version: "[<mod_version>,<next_major_mod_version>)")
}