aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorisXander <xander@isxander.dev>2024-05-29 22:42:46 +0100
committerisXander <xander@isxander.dev>2024-05-29 22:42:46 +0100
commit646c7bac69dba476b3f9171568091eb23a86edaa (patch)
tree83727744315b956120fb573f9ecd883837b63099 /settings.gradle.kts
parent41253828df7c2066b5df29a32aa8e512f34ad85a (diff)
downloadYetAnotherConfigLib-646c7bac69dba476b3f9171568091eb23a86edaa.tar.gz
YetAnotherConfigLib-646c7bac69dba476b3f9171568091eb23a86edaa.tar.bz2
YetAnotherConfigLib-646c7bac69dba476b3f9171568091eb23a86edaa.zip
1.21 compat
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts9
1 files changed, 5 insertions, 4 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 6e84144..9027127 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -17,18 +17,19 @@ plugins {
}
extensions.configure<StonecutterSettings> {
- kotlinController(true)
- centralScript("build.gradle.kts")
+ kotlinController = true
+ centralScript = "build.gradle.kts"
shared {
fun mc(mcVersion: String, name: String = mcVersion, loaders: Iterable<String>) {
for (loader in loaders) {
- vers("$name-$loader", mcVersion)
+ versions("$name-$loader")
}
}
+ mc("1.20.6", loaders = listOf("fabric", "neoforge"))
mc("1.20.4", loaders = listOf("fabric", "neoforge"))
+ mc("1.21", loaders = listOf("fabric"))
mc("1.20.1", loaders = listOf("fabric", "forge"))
- mc("1.20.6", loaders = listOf("fabric", "neoforge"))
}
create(rootProject)
}