build.gradle 952 B

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. id "com.github.johnrengelman.shadow" version "5.0.0"
  3. id "com.matthewprenger.cursegradle"
  4. }
  5. loom {
  6. mixinConfig "architectury.mixins.json"
  7. localMods {
  8. it.add(project(":forge").sourceSets.main)
  9. }
  10. }
  11. architectury {
  12. platformSetupLoomIde()
  13. forge()
  14. }
  15. dependencies {
  16. minecraft "com.mojang:minecraft:${gradle.rootProject.architectury.minecraft}"
  17. mappings loom.officialMojangMappings()
  18. forge "net.minecraftforge:forge:${gradle.rootProject.architectury.minecraft}-${rootProject.forge_version}"
  19. implementation project(path: ":forge", configuration: "dev")
  20. implementation(project(path: ":common")) {
  21. transitive = false
  22. }
  23. developmentForge(project(path: ":common")) {
  24. transitive = false
  25. }
  26. implementation(project(path: ":testmod-common")) {
  27. transitive = false
  28. }
  29. developmentForge(project(path: ":testmod-common")) {
  30. transitive = false
  31. }
  32. }