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 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. //// No official maven'y storage for:
  41. //// - Baubles
  42. //// - MicdoodleCore
  43. //// - GalacticraftCore
  44. //// - Galacticraft-Planets
  45. //// - Thaumcraft
  46. //// - EnviroMine
  47. //// - Botania
  48. //// - Railcraft
  49. //// - twilightforest
  50. //// - appliedenergistics2
  51. //// - CoFHLib
  52. //// - ComputerCraft
  53. //// - RTG
  54. //// - OpenBlocks
  55. //// - IC2Classic
  56. //// Main storage for forestry_1.7.10
  57. //maven {
  58. // name = "ic2"
  59. // url = "http://maven.ic2.player.to/"
  60. //}
  61. //// Main storage for buildcraft
  62. //ivy {
  63. // name "BuildCraft"
  64. // artifactPattern "http://www.mod-buildcraft.com/releases/BuildCraft/[revision]/[module]-[revision](-[classifier]).[ext]"
  65. //}
  66. //// Main storage for CodeChickenCore, NotEnoughItems
  67. //// CodeChickenLib is in the Forge maven
  68. //maven {
  69. // name = "chickenbones"
  70. // url = "http://chickenbones.net/maven/"
  71. //}
  72. //// Main storage for AppleCore
  73. //maven {
  74. // name = "Apple"
  75. // url "http://www.ryanliptak.com/maven/"
  76. //}
  77. //// Main storage for OpenComputers
  78. //maven {
  79. // name = "OC repo"
  80. // url = "http://maven.cil.li/"
  81. //}
  82. }
  83. apply plugin: 'forge'
  84. sourceCompatibility = 1.7
  85. targetCompatibility = 1.7
  86. group= "com.gregoriust.gregtech"
  87. archivesBaseName = "gregtech_1.7.10"
  88. version = "6.09.00"
  89. minecraft {
  90. version = "1.7.10-10.13.4.1492-1.7.10"
  91. runDir = "assets"
  92. }
  93. dependencies {
  94. //compile fileTree(dir: 'libs', include: '*.jar')
  95. compile "net.sengir.forestry:forestry_1.7.10:4.2.16.64:dev"
  96. compile "com.mod-buildcraft:buildcraft:7.1.23:dev"
  97. compile "com.azanor.baubles:Baubles:1.7.10-1.0.1.10:deobf"
  98. compile "micdoodle8.mods:MicdoodleCore:1.7-3.0.12.504:Dev"
  99. compile "micdoodle8.mods:GalacticraftCore:1.7-3.0.12.504:Dev"
  100. compile "micdoodle8.mods:Galacticraft-Planets:1.7-3.0.12.504:Dev"
  101. compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
  102. compile "codechicken:CodeChickenCore:1.7.10-1.0.7.47:dev"
  103. compile "codechicken:NotEnoughItems:1.7.10-1.0.5.120:dev"
  104. compile "thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev"
  105. compile "enviromine:EnviroMine:1.3.124:deobf"
  106. compile "vazkii.botania:Botania:r1.8-250:deobf"
  107. compile "mods.railcraft:Railcraft_1.7.10:9.12.3.0:dev"
  108. compile "twilightforest:twilightforest:1.7.10-2.3.8dev:dev"
  109. compile "appeng:appliedenergistics2:rv3-beta-6:dev"
  110. compile "cofh:CoFHLib:1.7.10R3.0.3:dev"
  111. compile "applecore:AppleCore:1.7.10-3.1.1:deobf"
  112. compile "li.cil.oc:OpenComputers:MC1.7.10-1.7.2.1204:dev"
  113. // This ComputerCraft thing is *SUCH* a hack, but ComputerCraft is... not
  114. // right... This only works because of CodeChickenCore Magic being included
  115. // up above...
  116. compile "dan200.computercraft:ComputerCraft:1.75"
  117. compile "openblocks:OpenBlocks:1.7.10-1.6-1.7.10:deobf"
  118. compile "ic2:IC2Classic:1.2.1.8:dev"
  119. }
  120. processResources {
  121. from(sourceSets.main.resources.srcDirs) {
  122. include 'mcmod.info'
  123. include 'pack.mcmeta'
  124. include 'LICENSE'
  125. include 'COPYING'
  126. include 'COPYING.LESSER'
  127. expand 'version':project.version, 'mcversion':project.minecraft.version
  128. }
  129. from(sourceSets.main.resources.srcDirs) {
  130. exclude 'mcmod.info'
  131. exclude 'pack.mcmeta'
  132. exclude 'LICENSE'
  133. exclude 'COPYING'
  134. exclude 'COPYING.LESSER'
  135. }
  136. }
  137. task wrapper(type: Wrapper) {
  138. gradleVersion = '2.13'
  139. }
  140. task sourceJar(type: Jar) {
  141. manifest {}
  142. classifier = 'sources'
  143. from sourceSets.main.allSource
  144. include 'gregapi/**'
  145. }
  146. task devJar(type: Jar) {
  147. manifest {}
  148. classifier = 'dev'
  149. from sourceSets.main.output
  150. }
  151. task coreJar(type: Jar) {
  152. dependsOn jar
  153. manifest {}
  154. classifier = 'core'
  155. from sourceSets.main.output
  156. exclude('gregtech/**')
  157. }
  158. reobf {
  159. reobf(coreJar) {
  160. spec -> spec.classpath = sourceSets.main.compileClasspath
  161. }
  162. }
  163. artifacts {
  164. archives devJar, sourceJar, coreJar
  165. }
  166. if(!hasProperty("mavenUsername")){
  167. ext.mavenUsername=""
  168. }
  169. if(!hasProperty("mavenPassword")){
  170. ext.mavenPassword=""
  171. }
  172. uploadArchives {
  173. repositories {
  174. mavenDeployer {
  175. repository(url: "http://maven.gregtech.overminddl1.com/upload") {
  176. authentication(userName: mavenUsername, password: mavenPassword)
  177. }
  178. pom*.whenConfigured {
  179. pom -> pom.dependencies.clear()
  180. }
  181. }
  182. }
  183. }