build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. }
  16. dependencies {
  17. minecraft "com.mojang:minecraft:${rootProject.fabric_minecraft_version}"
  18. mappings "net.fabricmc:yarn:${rootProject.fabric_minecraft_version}+build.${rootProject.yarn_build}:v2"
  19. modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
  20. modCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
  21. modCompile("me.shedaniel.cloth:cloth-events:${rootProject.cloth_events_version}") {
  22. transitive = false
  23. }
  24. modImplementation("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}")
  25. modImplementation("io.github.prospector:modmenu:${rootProject.modmenu_version}") {
  26. transitive = false
  27. }
  28. include("me.shedaniel.cloth:cloth-events:${rootProject.cloth_events_version}") {
  29. transitive = false
  30. }
  31. include("me.shedaniel.cloth:config-2:${rootProject.cloth_config_version}") {
  32. transitive = false
  33. }
  34. }