-
Notifications
You must be signed in to change notification settings - Fork 6
/
settings.gradle.kts
45 lines (37 loc) · 1.24 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
import dev.kikugie.stonecutter.StonecutterSettings
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://plugins.gradle.org/m2/")
maven("https://maven.parchmentmc.org")
maven("https://maven.fabricmc.net/")
maven("https://repo.spongepowered.org/repository/maven-public/")
maven("https://maven.neoforged.net/releases")
maven("https://maven.architectury.dev")
maven("https://maven.minecraftforge.net")
maven("https://maven.kikugie.dev/snapshots")
}
val kotlinVersion: String by settings
plugins {
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
}
}
plugins {
id("dev.kikugie.stonecutter") version "0.5-alpha.4"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
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.20.1", "fabric", "forge")
}
create(rootProject)
}
rootProject.name = "HollowEngine"
include("compiler-plugin")