aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
blob: 441383126cb3c144f9a4ee2a8d3a709bb32ac84f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pluginManagement {
    repositories {
        mavenCentral()
        gradlePluginPortal()
        maven(url = "https://jitpack.io/")
        maven(url = "https://maven.minecraftforge.net/")
        maven(url = "https://repo.spongepowered.org/maven/")
    }
    resolutionStrategy {
        eachPlugin {
            when (requested.id.id) {
                "net.minecraftforge.gradle.forge" -> useModule("com.github.asbyth:ForgeGradle:${requested.version}")
                "org.spongepowered.mixin" -> useModule("com.github.LxGaming:MixinGradle:${requested.version}")
            }
        }
    }
}