diff options
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r-- | settings.gradle.kts | 9 |
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) } |