aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
blob: ed410459680836ccdb6d42228c42e551e04fd705 (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.neoforged.net/releases")
        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 ("neoforge" in enabledLoaders) {
    include("neoforge")
    include("test-neoforge")
}