34 lines
883 B
Text
34 lines
883 B
Text
|
pluginManagement {
|
||
|
repositories {
|
||
|
gradlePluginPortal()
|
||
|
mavenCentral()
|
||
|
maven("https://repo.polyfrost.cc/releases")
|
||
|
maven("https://maven.architectury.dev/")
|
||
|
}
|
||
|
plugins {
|
||
|
val egtVersion = "0.1.18"
|
||
|
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"
|
||
|
}
|
||
|
}
|