build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id("fabric-loom") version "0.4-SNAPSHOT"
  3. }
  4. minecraft {
  5. accessWidener = file("src/main/resources/lightoverlay.accesswidener")
  6. }
  7. processResources {
  8. filesMatching("fabric.mod.json") {
  9. expand "version": project.version
  10. }
  11. inputs.property "version", project.version
  12. }
  13. repositories {
  14. jcenter()
  15. maven { url "https://dl.bintray.com/shedaniel/legacy-yarn-updated" }
  16. }
  17. dependencies {
  18. minecraft "com.mojang:minecraft:${rootProject.fabric_minecraft_version}"
  19. mappings "me.shedaniel:legacy-yarn:${rootProject.yarn_build}:v2"
  20. modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
  21. modCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
  22. modCompile("me.shedaniel.cloth.api:cloth-client-events-v0:${rootProject.cloth_version}") {
  23. transitive = false
  24. }
  25. modImplementation("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}")
  26. modImplementation("io.github.prospector:modmenu:${rootProject.modmenu_version}") {
  27. transitive = false
  28. }
  29. include("me.shedaniel.cloth.api:cloth-client-events-v0:${rootProject.cloth_version}") {
  30. transitive = false
  31. }
  32. include("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}") {
  33. transitive = false
  34. }
  35. }