]> git.lizzy.rs Git - LightOverlay.git/blob - fabric/build.gradle
1.16.2
[LightOverlay.git] / fabric / build.gradle
1 plugins {
2     id("fabric-loom") version "0.5-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     maven { url "https://dl.bintray.com/shedaniel/legacy-yarn-updated" }
19 }
20
21 dependencies {
22     minecraft "com.mojang:minecraft:${rootProject.fabric_minecraft_version}"
23     mappings "me.shedaniel:legacy-yarn:${rootProject.yarn_build}:v2"
24     modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
25
26     modCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
27     modCompile("me.shedaniel.cloth.api:cloth-client-events-v0:${rootProject.cloth_version}") {
28         transitive = false
29     }
30     modImplementation("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}") {
31         exclude(group: "net.fabricmc.fabric-api")
32     }
33     modImplementation("io.github.prospector:modmenu:${rootProject.modmenu_version}") {
34         transitive = false
35     }
36     include("me.shedaniel.cloth.api:cloth-client-events-v0:${rootProject.cloth_version}") {
37         transitive = false
38     }
39     include("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}") {
40         transitive = false
41     }
42 }