build.gradle 783 B

12345678910111213141516171819202122232425
  1. plugins {
  2. id "com.github.johnrengelman.shadow" version "7.0.0"
  3. id "com.matthewprenger.cursegradle"
  4. }
  5. architectury {
  6. platformSetupLoomIde()
  7. fabric()
  8. }
  9. configurations {
  10. common
  11. compileClasspath.extendsFrom common
  12. runtimeClasspath.extendsFrom common
  13. developmentFabric.extendsFrom common
  14. }
  15. dependencies {
  16. modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
  17. modImplementation "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
  18. implementation project(path: ":fabric", configuration: "namedElements")
  19. common(project(path: ":common", configuration: "namedElements")) { transitive false }
  20. common(project(path: ":testmod-common", configuration: "namedElements")) { transitive false }
  21. }