Botany (from Binnie's Mods) compatibility for Unlimited Chisel Works.
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 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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.2"
  15. group = "pl.asie.ucw.botany"
  16. archivesBaseName = "UnlimitedChiselWorks-Botany"
  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.1.2599"
  31. runDir = "run"
  32. mappings = "snapshot_20180119"
  33. replace "\${version}", project.version
  34. replace "\${mcversion}", version
  35. }
  36. repositories {
  37. maven {
  38. url "http://maven.tterrag.com/"
  39. }
  40. maven {
  41. url "http://maven.ic2.player.to/"
  42. }
  43. }
  44. sourceSets {
  45. main {
  46. resources {
  47. srcDirs += 'docs'
  48. }
  49. }
  50. }
  51. license {
  52. sourceSets = [project.sourceSets.main]
  53. header = project.file("docs/licenses/LICENSE")
  54. ignoreFailures = true
  55. exclude '**/*.lang'
  56. exclude '**/*.info'
  57. exclude '**/*.mcmeta'
  58. }
  59. dependencies {
  60. deobfCompile "team.chisel:Chisel:MC1.12-0.1.1.26"
  61. deobfCompile "team.chisel.ctm:CTM:MC1.12-0.2.3.12"
  62. deobfCompile("net.sengir.forestry:forestry_1.12.2:5.7.0.236") {
  63. transitive = false
  64. }
  65. deobfCompile("binnie:binnie-mods-1.12.2:2.5.0.112") {
  66. transitive = false
  67. }
  68. }
  69. processResources {
  70. inputs.property "version", project.version
  71. inputs.property "mcversion", project.minecraft.version
  72. from(sourceSets.main.resources.srcDirs) {
  73. include 'mcmod.info'
  74. expand 'version':project.version, 'mcversion':project.minecraft.version
  75. }
  76. from(sourceSets.main.resources.srcDirs) {
  77. exclude 'mcmod.info'
  78. }
  79. }
  80. if (file('private.gradle').exists()) {
  81. apply from: 'private.gradle'
  82. }