]> git.lizzy.rs Git - LightOverlay.git/blob - fabric/build.gradle
dde613c9b1f1c7fe9236151c3e54f4173d26f317
[LightOverlay.git] / fabric / build.gradle
1 plugins {
2     id("fabric-loom") version "0.4-SNAPSHOT"
3 }
4
5 minecraft {
6     accessWidener = file("src/main/resources/lightoverlay.accesswidener")
7 }
8
9 processResources {
10     filesMatching("fabric.mod.json") {
11         expand "version": project.version
12     }
13     inputs.property "version", project.version
14 }
15
16 repositories {
17     jcenter()
18 }
19
20 dependencies {
21     minecraft "com.mojang:minecraft:${rootProject.fabric_minecraft_version}"
22     mappings "net.fabricmc:yarn:${rootProject.fabric_minecraft_version}+build.${rootProject.yarn_build}:v2"
23     modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
24
25     modCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
26     modCompile("me.shedaniel.cloth:cloth-events:${rootProject.cloth_events_version}") {
27         transitive = false
28     }
29     modImplementation("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}")
30     modImplementation("io.github.prospector:modmenu:${rootProject.modmenu_version}") {
31         transitive = false
32     }
33     include("me.shedaniel.cloth:cloth-events:${rootProject.cloth_events_version}") {
34         transitive = false
35     }
36     include("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}") {
37         transitive = false
38     }
39 }