aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
blob: bdda6987ebdc8e203c8a82486659e35caf42479f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
pluginManagement {
    repositories {
        mavenCentral()
        gradlePluginPortal()
        maven("https://maven.fabricmc.net")
        maven("https://maven.architectury.dev/")
        maven("https://maven.minecraftforge.net/")
        maven("https://maven.quiltmc.org/repository/release")
    }
}

dependencyResolutionManagement {
    versionCatalogs {
        create("libs")
    }
}

rootProject.name = "YetAnotherConfigLib"

val enabledLoaders = settings.extra.properties["loaders"].toString().split(",").map { it.trim() }

include("common")
include("test-common")

if ("fabric" in enabledLoaders) {
    include("fabric")
    include("test-fabric")
}

if ("forge" in enabledLoaders) {
    include("forge")
    include("test-forge")
}