Repository for GregTech 6
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 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. maven {
  5. name = "forge"
  6. url = "http://files.minecraftforge.net/maven"
  7. }
  8. maven {
  9. name = "sonatype"
  10. url = "https://oss.sonatype.org/content/repositories/snapshots/"
  11. }
  12. }
  13. dependencies {
  14. classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
  15. }
  16. }
  17. apply plugin: 'eclipse'
  18. eclipse {
  19. classpath {
  20. downloadJavadoc = true
  21. downloadSources = true
  22. }
  23. }
  24. apply plugin: 'idea'
  25. idea{
  26. module {
  27. downloadJavadoc = true
  28. downloadSources = true
  29. }
  30. }
  31. repositories {
  32. maven {
  33. name = "gt"
  34. url = "https://gregtech.overminddl1.com/"
  35. }
  36. maven {
  37. name = "forge"
  38. url = "https://files.minecraftforge.net/maven"
  39. }
  40. }
  41. apply plugin: 'forge'
  42. sourceCompatibility = 1.7
  43. targetCompatibility = 1.7
  44. group= "com.gregoriust.gregtech"
  45. archivesBaseName = "gregtech_1.7.10"
  46. version = "6.09.00"
  47. minecraft {
  48. version = "1.7.10-10.13.4.1492-1.7.10"
  49. runDir = "assets"
  50. }
  51. dependencies {
  52. compile fileTree(dir: 'lib', include: '*.jar')
  53. compile fileTree(dir: 'libs', include: '*.jar')
  54. compile "net.sengir.forestry:forestry_1.7.10:4.2.16.64:dev"
  55. compile "com.mod-buildcraft:buildcraft:7.1.23:dev"
  56. compile "com.azanor.baubles:Baubles:1.7.10-1.0.1.10:deobf"
  57. compile "micdoodle8.mods:MicdoodleCore:1.7-3.0.12.504:Dev"
  58. compile "micdoodle8.mods:GalacticraftCore:1.7-3.0.12.504:Dev"
  59. compile "micdoodle8.mods:Galacticraft-Planets:1.7-3.0.12.504:Dev"
  60. compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
  61. compile "codechicken:CodeChickenCore:1.7.10-1.0.7.47:dev"
  62. compile "codechicken:NotEnoughItems:1.7.10-1.0.5.120:dev"
  63. compile "thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev"
  64. compile "enviromine:EnviroMine:1.3.124:deobf"
  65. compile "vazkii.botania:Botania:r1.8-250:deobf"
  66. compile "mods.railcraft:Railcraft_1.7.10:9.12.3.0:dev"
  67. compile "twilightforest:twilightforest:1.7.10-2.3.8dev:dev"
  68. compile "appeng:appliedenergistics2:rv3-beta-6:dev"
  69. compile "cofh:CoFHLib:1.7.10R3.0.3:dev"
  70. compile "applecore:AppleCore:1.7.10-3.1.1:deobf"
  71. compile "li.cil.oc:OpenComputers:MC1.7.10-1.7.2.1204:dev"
  72. // This ComputerCraft thing is *SUCH* a hack, but ComputerCraft is... not right...
  73. // This only works because of CodeChickenCore Magic being included up above...
  74. compile "dan200.computercraft:ComputerCraft:1.75"
  75. compile "org.teamrtg.RTG:RTG:1.7.10-1.1.1.7:dev"
  76. compile "openblocks:OpenBlocks:1.7.10-1.6-1.7.10:deobf"
  77. }
  78. processResources {
  79. from(sourceSets.main.resources.srcDirs) {
  80. include 'mcmod.info'
  81. include 'pack.mcmeta'
  82. include 'LICENSE'
  83. include 'COPYING'
  84. include 'COPYING.LESSER'
  85. expand 'version':project.version, 'mcversion':project.minecraft.version
  86. }
  87. from(sourceSets.main.resources.srcDirs) {
  88. exclude 'mcmod.info'
  89. exclude 'pack.mcmeta'
  90. exclude 'LICENSE'
  91. exclude 'COPYING'
  92. exclude 'COPYING.LESSER'
  93. }
  94. }
  95. task wrapper(type: Wrapper) {
  96. gradleVersion = '2.13'
  97. }
  98. task sourceJar(type: Jar) {
  99. manifest {}
  100. classifier = 'sources'
  101. from sourceSets.main.allSource
  102. include 'gregapi/**'
  103. }
  104. task devJar(type: Jar) {
  105. manifest {}
  106. classifier = 'dev'
  107. from sourceSets.main.output
  108. }
  109. task coreJar(type: Jar) {
  110. dependsOn jar
  111. manifest {}
  112. classifier = 'core'
  113. from sourceSets.main.output
  114. exclude('gregtech/**')
  115. }
  116. reobf {
  117. reobf(coreJar) {
  118. spec -> spec.classpath = sourceSets.main.compileClasspath
  119. }
  120. }
  121. artifacts {
  122. archives devJar, sourceJar, coreJar
  123. }
  124. if (!hasProperty("mavenUsername")) {
  125. ext.mavenUsername=""
  126. }
  127. if (!hasProperty("mavenPassword")) {
  128. ext.mavenPassword=""
  129. }
  130. uploadArchives {
  131. repositories {
  132. mavenDeployer {
  133. repository(url: "http://maven.gregtech.overminddl1.com/upload") {
  134. authentication(userName: mavenUsername, password: mavenPassword)
  135. }
  136. pom*.whenConfigured {
  137. pom -> pom.dependencies.clear()
  138. }
  139. }
  140. }
  141. }