build.gradle 859 B

123456789101112131415161718192021222324252627282930313233
  1. plugins {
  2. id 'fabric-loom' version '0.2.0-SNAPSHOT'
  3. }
  4. sourceCompatibility = 1.8
  5. targetCompatibility = 1.8
  6. archivesBaseName = "RoughlyEnoughItems"
  7. version = "2.0.0.39"
  8. def minecraftVersion = "19w03b"
  9. def yarnVersion = "19w03b.2"
  10. def fabricVersion = "0.1.4.76"
  11. minecraft {
  12. }
  13. dependencies {
  14. minecraft "com.mojang:minecraft:${minecraftVersion}"
  15. mappings "net.fabricmc:yarn:${yarnVersion}"
  16. modCompile "net.fabricmc:fabric-loader:0.3.2.96"
  17. // Fabric API. This is technically optional, but you probably want it anyway.
  18. modCompile "net.fabricmc:fabric:${fabricVersion}"
  19. }
  20. // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
  21. // if it is present.
  22. // If you remove this task, sources will not be generated.
  23. task sourcesJar(type: Jar, dependsOn: classes) {
  24. classifier = 'sources'
  25. from sourceSets.main.allSource
  26. }