aboutsummaryrefslogtreecommitdiff
path: root/test-common/build.gradle.kts
blob: bd95f1e81facd0bb684e0843780058acebc0fd9b (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
plugins {
    alias(libs.plugins.architectury.loom)
}

architectury {
    val enabledLoaders = rootProject.properties["loaders"].toString().split(",").map { it.trim() }
    common(enabledLoaders)
}

loom {
    silentMojangMappingsLicense()

    accessWidenerPath.set(project(":common").loom.accessWidenerPath)
}

dependencies {
    minecraft(libs.minecraft)
    mappings(loom.layered {
        officialMojangMappings()
        parchment(libs.parchment)
    })
    modImplementation(libs.fabric.loader)

    implementation(project(path = ":common", configuration = "namedElements"))
}