Add the repository
Add the repository to each loader's build.gradle:
repositories {
maven { url "https://maven.serilum.com/" }
}
Dependencies
Pull in the active Collective library. It ships an artifact per loader plus a shared collective-common, matching the multiloader build.gradle layout:
Common
dependencies {
compileOnly "COLLECTIVEGROUP:collective-common:VERSION"
}
Fabric
dependencies {
implementation "COLLECTIVEGROUP:collective-fabric:VERSION"
}
Forge
dependencies {
implementation "COLLECTIVEGROUP:collective-forge:VERSION"
}
NeoForge
dependencies {
implementation "COLLECTIVEGROUP:collective-neoforge:VERSION"
}
Replace VERSION with <minecraft>-<collective> (the current latest is latest), then pick the one matching your Minecraft version from the list below. Collective for Minecraft 26.3.0 and older is in com.natamus.collective-ml, newer versions are in com.serilum.collective. The older github.com/Serilum/.maven/raw/maven/ URL keeps working too.
Gradle plugin
Tether adds the library dependencies a mod needs for you, for each loader and Minecraft version. Add the repository to settings.gradle:
pluginManagement {
repositories {
maven { url "https://maven.serilum.com/" }
gradlePluginPortal()
}
}
Then apply it in each loader's build.gradle, after the loader's own plugin:
plugins {
id 'com.serilum.tether' version 'TETHERVER'
}
Artifacts
Loading artifacts...