options-profiles/common/build.gradle

33 lines
1.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}"
// Architectury API
modImplementation "dev.architectury:architectury:$rootProject.architectury_api_version"
// Mod implementations
modImplementation "maven.modrinth:sodium:mc1.21.1-0.6.9-fabric" // Sodium
modImplementation "maven.modrinth:sodium-extra:mc1.21.1-0.6.0+fabric" // Sodium Extra
modImplementation "maven.modrinth:iris:1.8.8+1.21.1-fabric" // Iris
modImplementation "maven.modrinth:distanthorizons:2.2.1-a-1.21.1" // Distant Horizons
}