build.gradle 738 B

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