-
Notifications
You must be signed in to change notification settings - Fork 24
/
settings.gradle.kts
52 lines (47 loc) · 1.64 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
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.polyfrost.org/releases")
}
val pgtVersion = "0.6.6"
plugins {
id("org.polyfrost.multi-version.root") version pgtVersion
id("org.polyfrost.defaults") version pgtVersion
id("org.polyfrost.defaults.repo") version pgtVersion
id("org.polyfrost.defaults.java") version pgtVersion
id("org.polyfrost.multi-version.api-validation") version pgtVersion
}
dependencyResolutionManagement {
versionCatalogs {
create("pgtLibs") {
plugin("pgtRoot", "org.polyfrost.multi-version.root").version(pgtVersion)
plugin("pgt", "org.polyfrost.multi-version").version(pgtVersion)
plugin("pgtDefaults", "org.polyfrost.defaults").version(pgtVersion)
plugin("pgtDefaultRepo", "org.polyfrost.defaults.repo").version(pgtVersion)
plugin("pgtDefaultJava", "org.polyfrost.defaults.java").version(pgtVersion)
plugin("pgtAbi", "org.polyfrost.multi-version.api-validation").version(pgtVersion)
}
}
}
}
val mod_name: String by settings
rootProject.name = mod_name
include(":platform")
project(":platform").apply {
projectDir = file("versions/")
buildFileName = "root.gradle.kts"
}
listOf(
"1.8.9-forge",
"1.8.9-fabric",
"1.12.2-fabric",
"1.12.2-forge",
"1.16.5-forge",
"1.16.5-fabric"
).forEach { version ->
include(":platform:$version")
project(":platform:$version").apply {
projectDir = file("versions/$version")
buildFileName = "../build.gradle.kts"
}
}