2 id "com.github.johnrengelman.shadow" version "7.1.2"
6 accessWidenerPath = file("src/main/resources/lightoverlay.accesswidener")
10 platformSetupLoomIde()
16 shadowCommon // Don't use shadow from the shadow plugin because we don't want IDEA to index this.
17 compileClasspath.extendsFrom common
18 runtimeClasspath.extendsFrom common
19 developmentFabric.extendsFrom common
23 filesMatching("fabric.mod.json") {
24 expand "version": project.version
26 inputs.property "version", project.version
30 minecraft "com.mojang:minecraft:${rootProject.architectury.minecraft}"
31 mappings loom.officialMojangMappings()
32 modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
34 modImplementation "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
35 modImplementation("me.shedaniel.cloth:cloth-config-fabric:${rootProject.cloth_config_version}") {
36 exclude(group: "net.fabricmc.fabric-api")
38 modImplementation("com.terraformersmc:modmenu:${rootProject.modmenu_version}") {
41 modImplementation("dev.architectury:architectury-fabric:${rootProject.architectury_version}")
43 common(project(path: ":common", configuration: "namedElements")) {
46 shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) {
52 configurations = [project.configurations.shadowCommon]
53 classifier "dev-shadow"
62 inputFile.set(shadowJar.archivePath)