You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 954B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'fabric-loom' version '0.2.2-SNAPSHOT'
  3. id 'net.minecrell.licenser' version '0.4.1'
  4. }
  5. sourceCompatibility = 1.8
  6. targetCompatibility = 1.8
  7. archivesBaseName = "foamfix"
  8. version = "0.12.1"
  9. minecraft {
  10. }
  11. dependencies {
  12. minecraft "com.mojang:minecraft:1.14"
  13. mappings "net.fabricmc:yarn:1.14+build.3"
  14. modCompile "net.fabricmc:fabric-loader:0.4.5+build.140"
  15. }
  16. license {
  17. sourceSets = [project.sourceSets.main]
  18. header = project.file("docs/licenses/COPYING")
  19. ignoreFailures = true
  20. exclude '**/*.lang'
  21. exclude '**/*.info'
  22. exclude '**/*.mcmeta'
  23. matching('**/pl/asie/foamfix/api/**') {
  24. header = project.file("docs/licenses/LICENSE-API")
  25. }
  26. }
  27. // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
  28. // if it is present.
  29. // If you remove this task, sources will not be generated.
  30. // task sourcesJar(type: Jar, dependsOn: classes) {
  31. // classifier = 'sources'
  32. // from sourceSets.main.allSource
  33. // }