-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
49 lines (42 loc) · 1.32 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
pluginManagement {
repositories {
maven("https://maven.fabricmc.net")
maven("https://maven.architectury.dev")
maven("https://maven.neoforged.net/releases")
maven("https://maven.firstdark.dev/releases")
maven("https://maven.deftu.dev/releases")
maven("https://maven.deftu.dev/snapshots")
maven("https://maven.minecraftforge.net")
maven("https://repo.essential.gg/repository/maven-public")
maven("https://server.bbkr.space/artifactory/libs-release/")
gradlePluginPortal()
mavenCentral()
}
plugins {
kotlin("jvm") version("2.0.20")
kotlin("plugin.serialization") version("2.0.20")
id("dev.deftu.gradle.multiversion-root") version("2.9.1+alpha.3")
}
}
val projectName: String = extra["mod.name"]?.toString()!!
rootProject.name = projectName
rootProject.buildFileName = "root.gradle.kts"
listOf(
"1.20.1-fabric",
"1.20.1-forge",
"1.20.4-fabric",
"1.20.4-neoforge",
//"1.20.4-forge",
"1.20.6-fabric",
"1.20.6-neoforge",
//"1.20.6-forge",
"1.21.1-fabric",
"1.21.1-neoforge",
//"1.21.1-forge",
).forEach { version ->
include(":$version")
project(":$version").apply {
projectDir = file("versions/$version")
buildFileName = "../../build.gradle.kts"
}
}