forked from Jorbon/cool_elytra
-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
settings.gradle.kts
41 lines (37 loc) · 1.16 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
import dev.kikugie.stonecutter.StonecutterSettings
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://maven.fabricmc.net/")
maven("https://maven.architectury.dev")
maven("https://maven.minecraftforge.net")
maven("https://maven.neoforged.net/releases/")
maven("https://maven.kikugie.dev/releases")
}
}
plugins {
id("dev.kikugie.stonecutter") version "0.4.+"
}
extensions.configure<StonecutterSettings> {
kotlinController = true
centralScript = "build.gradle.kts"
shared {
fun mc(version: String, vararg loaders: String) {
for (it in loaders) vers("$version-$it", version)
}
//mc("1.19.4", "fabric", "forge")
//mc("1.20.1", "fabric", "forge")
//mc("1.20.2", "fabric", "forge")
//mc("1.20.4", "fabric", "neoforge")
//mc("1.20.6", "fabric", "neoforge")
mc("1.21", "fabric", "neoforge")
}
create(rootProject)
}
rootProject.name = "Do a Barrel Roll"
include("extensions")
val ext = project(":extensions")
listOf("common", "fabric", "forge", "neoforge").forEach {
include("extensions:$it")
}