gigaherz / Survivalist

Spicing up the early game, without making it tedious
https://www.curseforge.com/minecraft/mc-mods/survivalist
BSD 3-Clause "New" or "Revised" License
18 stars 11 forks source link

Gradle issue #38

Closed EnderStar closed 6 years ago

EnderStar commented 7 years ago

Hi, i have this error when it try to compile the 1.10.2 version with gradle, i cloned the 1.10.2 branch and thisis the error when i run ./gradlew build

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':runtime'.

Do you know how tosolve it? Thanks!

gigaherz commented 7 years ago

That is ALL it says? it doesn't sound like it's all it says...

EnderStar commented 7 years ago

Yea i tough that it was a common issue, this is all it says:

* What went wrong:
Could not resolve all dependencies for configuration ':runtime'.
> Could not find deobf.gigaherz.commons:Commons-1.11.2:0.5.2.
  Searched in the following locations:
      http://dvs1.progwml6.com/files/maven/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.pom
      http://dvs1.progwml6.com/files/maven/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.jar
      http://maven.epoxide.xyz/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.pom
      http://maven.epoxide.xyz/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.jar
      http://dogforce-games.com/maven/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.pom
      http://dogforce-games.com/maven/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.jar
      http://files.minecraftforge.net/maven/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.pom
      http://files.minecraftforge.net/maven/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.jar
      https://repo1.maven.org/maven2/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.pom
      https://repo1.maven.org/maven2/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.jar
      https://libraries.minecraft.net/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.pom
      https://libraries.minecraft.net/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.jar
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.pom
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/gigaherz/commons/Commons-1.11.2/0.5.2/Commons-1.11.2-0.5.2.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.11.2-13.20.0.2201/snapshot/20170128/Commons-1.11.2-0.5.2.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.11.2-13.20.0.2201/snapshot/20170128/Commons-1.11.2.jar
  Required by:
      gigaherz.survivalist:ender:1.8.3
> Could not find deobf.mezz.jei:jei_1.11:4.0.5.203.
  Searched in the following locations:
      http://dvs1.progwml6.com/files/maven/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.pom
      http://dvs1.progwml6.com/files/maven/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.jar
      http://maven.epoxide.xyz/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.pom
      http://maven.epoxide.xyz/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.jar
      http://dogforce-games.com/maven/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.pom
      http://dogforce-games.com/maven/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.jar
      http://files.minecraftforge.net/maven/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.pom
      http://files.minecraftforge.net/maven/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.jar
      https://repo1.maven.org/maven2/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.pom
      https://repo1.maven.org/maven2/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.jar
      https://libraries.minecraft.net/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.pom
      https://libraries.minecraft.net/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.jar
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.pom
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/mezz/jei/jei_1.11/4.0.5.203/jei_1.11-4.0.5.203.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.11.2-13.20.0.2201/snapshot/20170128/jei_1.11-4.0.5.203.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.11.2-13.20.0.2201/snapshot/20170128/jei_1.11.jar
  Required by:
      gigaherz.survivalist:ender:1.8.3
gigaherz commented 7 years ago

Strange, why is it searching in a /deobf/ folder? It's not supposed to... Are you using the files as is, or did you change anything?

EnderStar commented 7 years ago

I only edited some numbers but i'm new with git and gradle so i think that i did something wrong, i want to compile the 1.10.2 version but i cloned the repo and executed gradlew build so it should be compiling the master branch that is 1.11 right? So do you know how to specify the version to compile or how to only clone the 1.10.2 branch? Thanks! I hope that this question is useful for others who run into the same issue.

gigaherz commented 7 years ago

If you want to compile the 1.10.2 version, you want to checkout the 1.10.2 branch, after cloning. No need to change anything in the build files.

EnderStar commented 7 years ago

I cloned the 1.10.2 branch now and executed ./gradlew build but the error still appears:

Downloading https://services.gradle.org/distributions/gradle-2.7-bin.zip
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/ender/.gradle/wrapper/dists/gradle-2.7-bin/4s0fcuuppw3tjb1sxpzh16mne/gradle-2.7-bin.zip to /home/ender/.gradle/wrapper/dists/gradle-2.7-bin/4s0fcuuppw3tjb1sxpzh16mne
Set executable permissions for: /home/ender/.gradle/wrapper/dists/gradle-2.7-bin/4s0fcuuppw3tjb1sxpzh16mne/gradle-2.7/bin/gradle
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/ForgeGradle-2.2-20170206.202001-30.pom
Download https://jcenter.bintray.com/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.1/asm-debug-all-5.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.pom
Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
Download https://jcenter.bintray.com/com/cloudbees/cloudbees-oss-parent/1/cloudbees-oss-parent-1.pom
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.pom
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/fernflower-2.0-20151214.100946-17.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.3.3/httpcomponents-client-4.3.3.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom
Download https://jcenter.bintray.com/org/jdom/jdom2/2.0.5/jdom2-2.0.5.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.3/asm-5.0.3.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.pom
Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/25/commons-parent-25.pom
Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
Download https://jcenter.bintray.com/org/apache/ant/ant/1.9.4/ant-1.9.4.pom
Download https://jcenter.bintray.com/org/apache/ant/ant-parent/1.9.4/ant-parent-1.9.4.pom
Download https://jcenter.bintray.com/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.pom
Download https://jcenter.bintray.com/org/codehaus/plexus/plexus/2.0.7/plexus-2.0.7.pom
Download https://jcenter.bintray.com/org/codehaus/groovy/groovy-backports-compat23/2.4.4/groovy-backports-compat23-2.4.4.pom
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localizer-1.12.pom
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer-parent/1.12/localizer-parent-1.12.pom
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.3.2/httpcomponents-core-4.3.2.pom
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/28/commons-parent-28.pom
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/22/commons-parent-22.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom
Download https://jcenter.bintray.com/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/ForgeGradle-2.2-20170206.202001-30.jar
Download https://jcenter.bintray.com/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.1/asm-debug-all-5.1.jar
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.jar
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.jar
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.jar
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1.3.jar
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.jar
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.jar
Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/fernflower-2.0-20151214.100946-17.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.jar
Download https://jcenter.bintray.com/org/jdom/jdom2/2.0.5/jdom2-2.0.5.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar
Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.jar
Download https://jcenter.bintray.com/org/apache/ant/ant/1.9.4/ant-1.9.4.jar
Download https://jcenter.bintray.com/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.jar
Download https://jcenter.bintray.com/org/codehaus/groovy/groovy-backports-compat23/2.4.4/groovy-backports-compat23-2.4.4.jar
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localizer-1.12.jar
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar
Download https://jcenter.bintray.com/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar
#################################################
         ForgeGradle 2.2-SNAPSHOT-2112b0a        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
Download http://dogforce-games.com/maven/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
Download http://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
Download http://dogforce-games.com/maven/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
Download http://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402-api.jar
Download http://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402-sources.jar
Download http://dogforce-games.com/maven/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1-sources.jar

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':runtime'.
> Could not find deobf.gigaherz.commons:Commons-1.10.2:0.5.1.
  Searched in the following locations:
      http://dvs1.progwml6.com/files/maven/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
      http://dvs1.progwml6.com/files/maven/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
      http://maven.epoxide.xyz/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
      http://maven.epoxide.xyz/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
      http://dogforce-games.com/maven/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
      http://dogforce-games.com/maven/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
      http://files.minecraftforge.net/maven/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
      http://files.minecraftforge.net/maven/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
      https://repo1.maven.org/maven2/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
      https://repo1.maven.org/maven2/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
      https://libraries.minecraft.net/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
      https://libraries.minecraft.net/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.pom
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/gigaherz/commons/Commons-1.10.2/0.5.1/Commons-1.10.2-0.5.1.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.10.2-12.18.2.2125/stable/29/Commons-1.10.2-0.5.1.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.10.2-12.18.2.2125/stable/29/Commons-1.10.2.jar
  Required by:
      gigaherz.survivalist:ender:1.8.3
> Could not find deobf.mezz.jei:jei_1.10.2:3.14.3.402.
  Searched in the following locations:
      http://dvs1.progwml6.com/files/maven/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
      http://dvs1.progwml6.com/files/maven/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.jar
      http://maven.epoxide.xyz/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
      http://maven.epoxide.xyz/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.jar
      http://dogforce-games.com/maven/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
      http://dogforce-games.com/maven/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.jar
      http://files.minecraftforge.net/maven/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
      http://files.minecraftforge.net/maven/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.jar
      https://repo1.maven.org/maven2/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
      https://repo1.maven.org/maven2/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.jar
      https://libraries.minecraft.net/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
      https://libraries.minecraft.net/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.jar
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.pom
      file:/home/ender/.gradle/caches/minecraft/deobfedDeps/deobf/mezz/jei/jei_1.10.2/3.14.3.402/jei_1.10.2-3.14.3.402.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.10.2-12.18.2.2125/stable/29/jei_1.10.2-3.14.3.402.jar
      file:/home/ender/.gradle/caches/minecraft/net/minecraftforge/forge/1.10.2-12.18.2.2125/stable/29/jei_1.10.2.jar
  Required by:
      gigaherz.survivalist:ender:1.8.3

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

This time i havent changed anything