summary refs log tree commit diff stats
path: root/settings.gradle
blob: b2f68cd7c838a29c5ee1fa74c067b4ed597d0b90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pluginManagement {
    repositories {
        jcenter()
        maven {
            name = 'Fabric'
            url = 'https://maven.fabricmc.net/'
        }
        gradlePluginPortal()
    }

    resolutionStrategy {
        eachPlugin {
            if (requested.id.namespace != null && requested.id.namespace.startsWith("org.jetbrains.kotlin")) {
                useVersion kotlin_version
            }
            if(requested.id.toString() == "fabric-loom"){
                useVersion loom_version
            }
        }
    }
}