-
Notifications
You must be signed in to change notification settings - Fork 11
/
settings.gradle.kts
52 lines (46 loc) · 1.57 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
pluginManagement {
repositories {
/*maven {
val vs_maven_url: String? by settings
val vs_maven_username: String? by settings
val vs_maven_password: String? by settings
name = "Valkyrien Skies Internal"
url = uri(vs_maven_url ?: "https://maven.valkyrienskies.org")
if (vs_maven_username != null && vs_maven_password != null) {
credentials {
username = vs_maven_username!!
password = vs_maven_password!!
}
}
}*/
gradlePluginPortal()
maven("https://maven.fabricmc.net/") {
name = "Fabric"
}
maven("https://repo.spongepowered.org/repository/maven-public/") {
name = "Sponge Snapshots"
}
maven("https://maven.minecraftforge.net") {
name = "Forge"
}
maven("https://maven.architectury.dev/") {
name = "Architectury"
}
}
resolutionStrategy {
eachPlugin {
// If we request Forge, actually give it the correct artifact.
if (requested.id.id == "net.minecraftforge.gradle") {
useModule("${requested.id}:ForgeGradle:${requested.version}")
}
if (requested.id.namespace?.startsWith("org.jetbrains.kotlin") == true) {
val kotlin_version: String by settings
useVersion(kotlin_version)
}
}
}
}
include("common")
include("fabric")
include("forge")
rootProject.name = "vs-Tournament-mod"