aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts34
1 files changed, 34 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
new file mode 100644
index 0000000..8cbfd4e
--- /dev/null
+++ b/settings.gradle.kts
@@ -0,0 +1,34 @@
+pluginManagement {
+ repositories {
+ gradlePluginPortal()
+ mavenCentral()
+ maven("https://repo.woverflow.cc")
+ }
+ plugins {
+ val egtVersion = "0.1.7"
+ id("gg.essential.multi-version.root") version egtVersion
+ }
+ resolutionStrategy {
+ eachPlugin {
+ if (requested.id.id == "io.github.juuxel.loom-quiltflower-mini") {
+ useModule("com.github.wyvest:loom-quiltflower-mini:${requested.version}")
+ }
+ }
+ }
+}
+
+val mod_name: String by settings
+
+rootProject.name = mod_name
+rootProject.buildFileName = "root.gradle.kts"
+
+listOf(
+ "1.8.9-forge"
+).forEach { version ->
+ include(":$version")
+ project(":$version").apply {
+ projectDir = file("versions/$version")
+ buildFileName = "../../build.gradle.kts"
+ }
+
+} \ No newline at end of file