aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts18
1 files changed, 13 insertions, 5 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 69f48d4..859b472 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -8,6 +8,8 @@ pluginManagement {
plugins {
val egtVersion = "0.1.10"
id("gg.essential.multi-version.root") version egtVersion
+ id("gg.essential.defaults.repo") version egtVersion
+ id("gg.essential.defaults.java") version egtVersion
}
resolutionStrategy {
eachPlugin {
@@ -21,15 +23,21 @@ pluginManagement {
val mod_name: String by settings
rootProject.name = mod_name
-rootProject.buildFileName = "root.gradle.kts"
+
+include(":lwjgl")
+
+include(":platform")
+project(":platform").apply {
+ projectDir = file("versions/")
+ buildFileName = "root.gradle.kts"
+}
listOf(
"1.8.9-forge"
).forEach { version ->
- include(":$version")
- project(":$version").apply {
+ include(":platform:$version")
+ project(":platform:$version").apply {
projectDir = file("versions/$version")
- buildFileName = "../../build.gradle.kts"
+ buildFileName = "../build.gradle.kts"
}
}
-include(":lwjgl") \ No newline at end of file