-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
87 lines (67 loc) · 1.93 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import groovy.lang.MissingPropertyException
pluginManagement {
repositories {
// Default repositories
gradlePluginPortal()
mavenCentral()
// Repositories
maven("https://maven.deftu.dev/releases")
maven("https://maven.fabricmc.net")
maven("https://maven.architectury.dev/")
maven("https://maven.minecraftforge.net")
maven("https://repo.essential.gg/repository/maven-public")
maven("https://server.bbkr.space/artifactory/libs-release/")
maven("https://jitpack.io/")
// Snapshots
maven("https://maven.deftu.dev/snapshots")
maven("https://s01.oss.sonatype.org/content/groups/public/")
mavenLocal()
}
plugins {
kotlin("jvm") version("2.0.0")
}
}
val projectName: String = extra["project.name"]?.toString()
?: throw MissingPropertyException("project.name has not been set.")
rootProject.name = projectName
include(":example-basic")
include(":example-lwjgl3")
// Utilities
include(":text-input") // Text input component
// Defign
include(":defign") // Implementation of my design system
// Minecraft implementation
include(":minecraft")
project(":minecraft").buildFileName = "root.gradle.kts"
listOf(
"1.8.9-forge",
"1.12.2-forge",
"1.16.5-forge",
"1.16.5-fabric",
"1.17.1-forge",
"1.17.1-fabric",
"1.18.2-forge",
"1.18.2-fabric",
"1.19.2-forge",
"1.19.2-fabric",
"1.19.4-forge",
"1.19.4-fabric",
"1.20.1-forge",
"1.20.1-fabric",
"1.20.2-forge",
"1.20.2-neoforge",
"1.20.2-fabric",
"1.20.4-forge",
"1.20.4-neoforge",
"1.20.4-fabric",
"1.20.6-neoforge",
"1.20.6-fabric",
"1.21-neoforge",
"1.21-fabric"
).forEach { version ->
include(":minecraft:$version")
project(":minecraft:$version").apply {
projectDir = file("minecraft/versions/$version")
buildFileName = "../../build.gradle.kts"
}
}