The worst Minecraft block compression mod.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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.3.5"
  15. group = "pl.asie.preston" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
  16. archivesBaseName = "Preston"
  17. sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
  18. compileJava {
  19. sourceCompatibility = targetCompatibility = '1.8'
  20. }
  21. minecraft {
  22. version = "1.12.2-14.23.4.2747"
  23. runDir = "run"
  24. useDepAts = true
  25. makeObfSourceJar = false
  26. mappings = "snapshot_20180805"
  27. replace '@VERSION@', project.version
  28. replace '@MC_VERSION@', version
  29. }
  30. repositories {
  31. maven {
  32. name 'DVS1 Maven FS'
  33. url 'http://dvs1.progwml6.com/files/maven'
  34. }
  35. maven {
  36. name 'BuildCraft'
  37. url 'https://mod-buildcraft.com/maven'
  38. }
  39. /* maven {
  40. name 'IC2'
  41. url 'http://maven.ic2.player.to'
  42. } */
  43. maven {
  44. url "http://tehnut.info/maven"
  45. }
  46. maven {
  47. url "http://repo.elytradev.com"
  48. }
  49. maven {
  50. url "http://maven.blamejared.com/"
  51. }
  52. ivy {
  53. name 'asie dependency mirror'
  54. artifactPattern "http://asie.pl/javadeps/[module]-[revision](-[classifier]).[ext]"
  55. }
  56. }
  57. dependencies {
  58. deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.6.457"
  59. deobfCompile "com.mod-buildcraft:buildcraft-api:7.99.16"
  60. deobfCompile "mezz.jei:jei_1.12.2:4.11.0.206"
  61. // deobfCompile "net.industrial-craft:industrialcraft-2:2.8.96-ex112"
  62. deobfCompile "mcp.mobius.waila:Hwyla:1.8.23-B38_1.12"
  63. /* deobfCompile "com.elytradev:probedataproviderapi:MC1.12_ver1.1.1" */
  64. deobfCompile name: "ProjectE", version: "1.12-PE1.2.0"
  65. }
  66. license {
  67. sourceSets = [project.sourceSets.main]
  68. header = project.file("docs/licenses/LICENSE")
  69. ignoreFailures = true
  70. exclude '**/*.lang'
  71. exclude '**/*.info'
  72. exclude '**/*.mcmeta'
  73. matching('**/pl/asie/preston/api/**') {
  74. header = project.file("docs/licenses/LICENSE-API")
  75. }
  76. }
  77. processResources {
  78. // this will ensure that this task is redone when the versions change.
  79. inputs.property "version", project.version
  80. inputs.property "mcversion", project.minecraft.version
  81. // replace stuff in mcmod.info, nothing else
  82. from(sourceSets.main.resources.srcDirs) {
  83. include 'mcmod.info'
  84. // replace version and mcversion
  85. expand 'version':project.version, 'mcversion':project.minecraft.version
  86. }
  87. // copy everything else except the mcmod.info
  88. from(sourceSets.main.resources.srcDirs) {
  89. exclude 'mcmod.info'
  90. }
  91. }