Advertisement
Guest User

Untitled

a guest
Mar 11th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. Error:
  2. ****************************************************************
  3. FAILURE: Build failed with and exception.
  4.  
  5. * What went wrong:
  6. A problem occurred configuring root project 'MDK'.
  7. > Could not find CoFHCore.jar (cofh:CoFHCore:1.10.2-4.1.0.155).
  8. Searched in the following locations: http://maven.covers1624.net/cofh/CoFHCore/1.10.2-4.1.0.155/CoFHCore-1.10.2-4.1.0.155.jar
  9.  
  10.  
  11.  
  12. My build.gradle
  13. ****************************************************************
  14.  
  15. buildscript {
  16. repositories {
  17. jcenter()
  18. maven {
  19. name = "forge"
  20. url = "http://files.minecraftforge.net/maven"
  21. }
  22.  
  23. }
  24. dependencies {
  25. classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
  26.  
  27. }
  28. }
  29.  
  30. repositories {
  31. maven {
  32. name 'DVS1 Maven FS'
  33. url 'http://dvs1.progwml6.com/files/maven'
  34. }
  35. maven {
  36. name = "ChickenBones Maven"
  37. url = "http://chickenbones.net/maven/"
  38. }
  39. maven {
  40. name = "Covers Maven"
  41. url = "http://maven.covers1624.net"
  42. }
  43. }
  44.  
  45. apply plugin: 'net.minecraftforge.gradle.forge'
  46. //Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.
  47.  
  48.  
  49. version = "1.0"
  50. group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
  51. archivesBaseName = "blujay"
  52.  
  53. sourceCompatibility = targetCompatibility = "1.6" // Need this here so eclipse task generates correctly.
  54. compileJava {
  55. sourceCompatibility = targetCompatibility = "1.6"
  56. }
  57.  
  58. minecraft {
  59. version = "1.10.2-12.18.3.2215"
  60. runDir = "run"
  61.  
  62. // the mappings can be changed at any time, and must be in the following format.
  63. // snapshot_YYYYMMDD snapshot are built nightly.
  64. // stable_# stables are built at the discretion of the MCP team.
  65. // Use non-default mappings at your own risk. they may not allways work.
  66. // simply re-run your setup task after changing the mappings to update your workspace.
  67. mappings = "snapshot_20161111"
  68. // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
  69. }
  70.  
  71. dependencies {
  72. deobfCompile "slimeknights.mantle:Mantle:1.10.2-1.1.4+"
  73. deobfCompile "slimeknights:TConstruct:1.10.2-2.6.3.500"
  74. deobfCompile "codechicken:CodeChickenLib:1.10.2-2.5.6.224"
  75. deobfCompile "cofh:CoFHCore:1.10.2-4.1.0.155+"
  76. deobfCompile "cofh:ThermalFoundation:1.10.2-2.0.3+"
  77. }
  78.  
  79. processResources
  80. {
  81. // this will ensure that this task is redone when the versions change.
  82. inputs.property "version", project.version
  83. inputs.property "mcversion", project.minecraft.version
  84.  
  85. // replace stuff in mcmod.info, nothing else
  86. from(sourceSets.main.resources.srcDirs) {
  87. include 'mcmod.info'
  88.  
  89. // replace version and mcversion
  90. expand 'version':project.version, 'mcversion':project.minecraft.version
  91. }
  92.  
  93. // copy everything else, thats not the mcmod.info
  94. from(sourceSets.main.resources.srcDirs) {
  95. exclude 'mcmod.info'
  96. }
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement