Port of "Neko" to the Minecrat inventory. For some reason.
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 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. maven { url = "http://files.minecraftforge.net/maven" }
  5. maven { url "https://plugins.gradle.org/m2/" }
  6. }
  7. dependencies {
  8. classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
  9. classpath "gradle.plugin.net.minecrell:licenser:0.3"
  10. }
  11. }
  12. apply plugin: 'net.minecraftforge.gradle.forge'
  13. apply plugin: 'net.minecrell.licenser'
  14. version = "0.1.0"
  15. group = "pl.asie.inventoryneko"
  16. archivesBaseName = "InventoryNeko"
  17. sourceCompatibility = targetCompatibility = '1.8'
  18. compileJava {
  19. sourceCompatibility = targetCompatibility = '1.8'
  20. }
  21. if (System.getenv("BUILD_NUMBER") != null)
  22. version += ".${System.getenv("BUILD_NUMBER")}"
  23. configurations {
  24. deploy
  25. }
  26. dependencies {
  27. deploy 'org.apache.maven.wagon:wagon-ssh:2.10'
  28. }
  29. minecraft {
  30. version = "1.12.2-14.23.0.2491"
  31. runDir = "run"
  32. mappings = "snapshot_20170915"
  33. }
  34. repositories {
  35. }
  36. sourceSets {
  37. main {
  38. resources {
  39. srcDirs += 'docs'
  40. }
  41. }
  42. }
  43. license {
  44. sourceSets = [project.sourceSets.main]
  45. header = project.file("docs/licenses/LICENSE")
  46. ignoreFailures = true
  47. exclude '**/*.lang'
  48. exclude '**/*.info'
  49. exclude '**/*.mcmeta'
  50. exclude '**/*.xbm'
  51. exclude '**/*.include'
  52. }
  53. dependencies {
  54. }
  55. processResources {
  56. inputs.property "version", project.version
  57. inputs.property "mcversion", project.minecraft.version
  58. from(sourceSets.main.resources.srcDirs) {
  59. include 'mcmod.info'
  60. expand 'version':project.version, 'mcversion':project.minecraft.version
  61. }
  62. from(sourceSets.main.resources.srcDirs) {
  63. exclude 'mcmod.info'
  64. }
  65. }
  66. if (file('private.gradle').exists()) {
  67. apply from: 'private.gradle'
  68. }