options-profiles/common/build.gradle
2024-07-03 16:00:12 +01:00

30 lines
1 KiB
Groovy

architectury {
common rootProject.enabled_platforms.split(',')
}
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}
dependencies {
// We depend on Fabric Loader here to use the Fabric @Environment annotations,
// which get remapped to the correct annotations on each platform.
// Do NOT use other classes from Fabric Loader.
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
// Mod implementations
modImplementation "maven.modrinth:sodium:mc1.21-0.5.9" // Sodium
modImplementation "maven.modrinth:sodium-extra:mc1.21-0.5.7" // Sodium Extra
modImplementation "maven.modrinth:embeddium:1.0.2+mc1.21" // Embeddium
modImplementation "maven.modrinth:distanthorizons:2.1.2-a-1.21" // Distant Horizons
}