Replacing vanilla tools with TCon's, in style!
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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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.2.1"
  15. group = "pl.asie.tinkeredhegemony"
  16. archivesBaseName = "TinkeredHegemony"
  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.5.2768"
  31. runDir = "run"
  32. mappings = "snapshot_20180624"
  33. replace "\${version}", project.version
  34. replace "\${mcversion}", version
  35. }
  36. repositories {
  37. maven {
  38. name 'DVS1 Maven FS'
  39. url 'http://dvs1.progwml6.com/files/maven'
  40. }
  41. maven {
  42. url "http://maven.blamejared.com/"
  43. }
  44. ivy {
  45. artifactPattern "http://asie.pl/javadeps/[module]-[revision](-[classifier]).[ext]"
  46. }
  47. }
  48. sourceSets {
  49. main {
  50. resources {
  51. srcDirs += 'docs'
  52. }
  53. }
  54. }
  55. license {
  56. sourceSets = [project.sourceSets.main]
  57. header = project.file("docs/licenses/LICENSE")
  58. ignoreFailures = true
  59. exclude '**/*.lang'
  60. exclude '**/*.info'
  61. exclude '**/*.mcmeta'
  62. }
  63. dependencies {
  64. deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.6.467"
  65. deobfCompile "slimeknights.mantle:Mantle:1.12-1.3.2.25"
  66. deobfCompile "slimeknights:TConstruct:1.12.2-2.10.1.91"
  67. deobfCompile "mezz.jei:jei_1.12.2:4.13.1.220"
  68. deobfCompile name: "conarm", version: "1.12.2-1.1.2"
  69. }
  70. processResources {
  71. inputs.property "version", project.version
  72. inputs.property "mcversion", project.minecraft.version
  73. from(sourceSets.main.resources.srcDirs) {
  74. include 'mcmod.info'
  75. expand 'version':project.version, 'mcversion':project.minecraft.version
  76. }
  77. from(sourceSets.main.resources.srcDirs) {
  78. exclude 'mcmod.info'
  79. }
  80. }
  81. if (file('private.gradle').exists()) {
  82. apply from: 'private.gradle'
  83. }