-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
46 lines (38 loc) · 1.32 KB
/
settings.gradle.kts
File metadata and controls
46 lines (38 loc) · 1.32 KB
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
pluginManagement {
repositories {
maven("https://maven.fabricmc.net")
maven("https://maven.neoforged.net/releases")
maven("https://maven.minecraftforge.net")
maven("https://maven.kikugie.dev/releases")
gradlePluginPortal()
mavenCentral()
mavenLocal()
}
plugins {
kotlin("jvm") version("2.3.0")
kotlin("plugin.serialization") version("2.3.0")
}
}
plugins {
id("dev.kikugie.stonecutter") version("0.7.+")
}
stonecutter {
centralScript = "build.gradle.kts"
kotlinController = true
val versions = listOf("1.20.1", "1.21.1", "1.21.4", "1.21.5", "1.21.8", "1.21.10", "1.21.11")
create(rootProject) {
versions(versions)
vcsVersion = "1.20.1"
branch("fabric")
// TODO: until someone figures out MDG Legacy + mixin in a multi-loader setup, this is what we're going to settle with.
// Or until Architectury Loom updates to 1.14, though idk.
// branch("forge") {
// versions(versions.filterIndexed { i, _ -> i <= versions.indexOf("1.20.1") })
// }
branch("neoforge") {
versions(versions.filterIndexed { i, _ -> i >= versions.indexOf("1.21.1") })
}
}
}
val projectName: String = extra["mod.name"]?.toString()!!
rootProject.name = projectName