Chocolate Quest Repoured

Chocolate Quest Repoured

2M Downloads

Can't build with gradlew

clienthax opened this issue ยท 17 comments

commented

Describe the bug
Gradlew fails to resolve geckolib dependencies

To Reproduce
Steps to reproduce the behavior:

  1. Clone repo
  2. attempt to build with gradlew
  3. See error

Expected behavior
A shiny new build to pop out

Log

Etag download for https://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 404
This mapping 'stable_39' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-6084129e
  https://github.com/MinecraftForge/ForgeGradle
#################################################
                 Powered by MCP
             http://modcoderpack.com
     by: Searge, ProfMobius, R4wk, ZeuX
     Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
:extractMcpMappings
:deobfCompileDeobfDepTask0
:deobfCompileRemapDepSourcesTask1
:deobfCompileDummyTask
:getVersionJson
:extractUserdev
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2847/forge-1.12.2-14.23.5.2847.pom
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2847/forge-1.12.2-14.23.5.2847-userdev.jar
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:applyBinaryPatches
:deobfProvidedDeobfDepTask0
:deobfProvidedRemapDepSourcesTask1
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:extractMcpData
:genSrgs
:deobfMcMCP
Applying SpecialSource...
Applying Exceptor...
:sourceApiJava UP-TO-DATE
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find forge-1.12.2-geckolib.jar (deobf.software.bernie.geckolib:forge-1.12.2-geckolib:3.0.0-beta.7).
  Searched in the following locations:
      https://files.minecraftforge.net/maven/deobf/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.jar

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

BUILD FAILED

Total time: 1 mins 41.897 secs
commented

This should be an issue anymore.

commented

Uhm it works fine for us and why do you fork the project in the first place? We had several cases of people trying to steal our work and those always began with forking the project, so please tell us why exactly you did that. (This is not meant as an insult, i'm just curious because of things that happened in the past)

Secondly this won't be resolved if you are one that wants to create a build to get a look at new features because we want to keep those secret until we release them ourselves. (this is also not meant as an insult, it is more a request to not share self-assembled builds in the public or in modpacks)

commented

For proof that it works, here's the log output of a build in a fresh environment i just made after setting up it's workspace with setupDecompWorkspace:
`To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'stable_39' was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-6084129e
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP
http://modcoderpack.com
by: Searge, ProfMobius, R4wk, ZeuX
Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
:extractMcpMappings SKIPPED
:deobfCompileDeobfDepTask0 SKIPPED
:deobfCompileRemapDepSourcesTask1
:deobfCompileDummyTask
:deobfProvidedDeobfDepTask0 SKIPPED
:deobfProvidedRemapDepSourcesTask1
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processResources
:classes
:jar
:sourceTestJava
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:extractMcpData SKIPPED
:getVersionJson
:extractUserdev UP-TO-DATE
:genSrgs SKIPPED
:reobfJar
:extractAnnotationsJar
:extractRangemapReplacedMain
D:\cq-test\build\sources\main\java
:retromapReplacedMain
remapping source...
:sourceJar
:assemble
:check UP-TO-DATE
:build

BUILD SUCCESSFUL

Total time: 28.376 secs`

commented

Uhm it works fine for us and why do you fork the project in the first place? We had several cases of people trying to steal our work and those always began with forking the project, so please tell us why exactly you did that. (This is not meant as an insult, i'm just curious because of things that happened in the past)

Secondly this won't be resolved if you are one that wants to create a build to get a look at new features because we want to keep those secret until we release them ourselves. (this is also not meant as an insult, it is more a request to not share self-assembled builds in the public or in modpacks)

I am running a server for a modpack with CQR in, and we need one of the bugfixes that was recently added as its causing us some pain 50fc69e.

This is not an attempt to get access to new features, just to fix the stability of the servers we run for our community.

It working fine for you is generally not a great sign that it will work for others due to caching etc.
I tried under both linux/windows environments ony my local machine and got the same result, even with wiping cache.

Also just now attempted to build on a fresh boxs with the same result.

root@IS-80777:~# git clone https://github.com/TeamChocoQuest/ChocolateQuestRepoured.git
Cloning into 'ChocolateQuestRepoured'...
remote: Enumerating objects: 88116, done.
remote: Counting objects: 100% (5680/5680), done.
remote: Compressing objects: 100% (2009/2009), done.
remote: Total 88116 (delta 2754), reused 5392 (delta 2488), pack-reused 82436
Receiving objects: 100% (88116/88116), 96.53 MiB | 11.43 MiB/s, done.
Resolving deltas: 100% (43002/43002), done.
root@IS-80777:~# cd ChocolateQuestRepoured/
root@IS-80777:~/ChocolateQuestRepoured#
root@IS-80777:~/ChocolateQuestRepoured# ./gradlew build -PbuildJar
-bash: ./gradlew: Permission denied
root@IS-80777:~/ChocolateQuestRepoured# chmod +x ./gradlew
root@IS-80777:~/ChocolateQuestRepoured# ./gradlew build -PbuildJar
Downloading https://services.gradle.org/distributions/gradle-2.14-bin.zip
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14-bin.zip to /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
Download https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.3-SNAPSHOT/ForgeGradle-2.3-20190910.005614-43.pom
Download https://files.minecraftforge.net/maven/com/google/guava/guava/18.0/guava-18.0.pom
Download https://files.minecraftforge.net/maven/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
Download https://files.minecraftforge.net/maven/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://files.minecraftforge.net/maven/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
Download https://files.minecraftforge.net/maven/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
Download https://files.minecraftforge.net/maven/com/cloudbees/cloudbees-oss-parent/1/cloudbees-oss-parent-1.pom
Download https://files.minecraftforge.net/maven/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.pom
Download https://files.minecraftforge.net/maven/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom
Download https://files.minecraftforge.net/maven/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom
Download https://files.minecraftforge.net/maven/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom
Download https://files.minecraftforge.net/maven/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
Download https://files.minecraftforge.net/maven/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom
Download https://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1.0.342-SNAPSHOT/forgeflower-1.0.342-20171208.041249-7.pom
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpcomponents-client/4.3.3/httpcomponents-client-4.3.3.pom
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/project/7/project-7.pom
Download https://files.minecraftforge.net/maven/org/apache/apache/13/apache-13.pom
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom
Download https://files.minecraftforge.net/maven/org/jvnet/localizer/localizer/1.12/localizer-1.12.pom
Download https://files.minecraftforge.net/maven/org/jvnet/localizer/localizer-parent/1.12/localizer-parent-1.12.pom
Download https://files.minecraftforge.net/maven/commons-io/commons-io/1.4/commons-io-1.4.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-parent/7/commons-parent-7.pom
Download https://files.minecraftforge.net/maven/org/apache/apache/4/apache-4.pom
Download https://files.minecraftforge.net/maven/trove/trove/1.0.2/trove-1.0.2.pom
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.pom
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpcomponents-core/4.3.2/httpcomponents-core-4.3.2.pom
Download https://files.minecraftforge.net/maven/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-parent/28/commons-parent-28.pom
Download https://files.minecraftforge.net/maven/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-parent/22/commons-parent-22.pom
Download https://files.minecraftforge.net/maven/org/apache/apache/9/apache-9.pom
Download https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.3-SNAPSHOT/ForgeGradle-2.3-20190910.005614-43.jar
Download https://files.minecraftforge.net/maven/com/google/guava/guava/18.0/guava-18.0.jar
Download https://files.minecraftforge.net/maven/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar
Download https://files.minecraftforge.net/maven/com/cloudbees/diff4j/1.1/diff4j-1.1.jar
Download https://files.minecraftforge.net/maven/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.jar
Download https://files.minecraftforge.net/maven/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.jar
Download https://files.minecraftforge.net/maven/com/github/jponge/lzma-java/1.3/lzma-java-1.3.jar
Download https://files.minecraftforge.net/maven/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.jar
Download https://files.minecraftforge.net/maven/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
Download https://files.minecraftforge.net/maven/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.jar
Download https://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1.0.342-SNAPSHOT/forgeflower-1.0.342-20171208.041249-7.jar
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.jar
Download https://files.minecraftforge.net/maven/org/jvnet/localizer/localizer/1.12/localizer-1.12.jar
Download https://files.minecraftforge.net/maven/commons-io/commons-io/1.4/commons-io-1.4.jar
Download https://files.minecraftforge.net/maven/trove/trove/1.0.2/trove-1.0.2.jar
Download https://files.minecraftforge.net/maven/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
Download https://files.minecraftforge.net/maven/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
Download https://files.minecraftforge.net/maven/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Etag download for https://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 404
This mapping 'stable_39' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-6084129e
  https://github.com/MinecraftForge/ForgeGradle
#################################################
                 Powered by MCP
             http://modcoderpack.com
     by: Searge, ProfMobius, R4wk, ZeuX
     Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
Download https://repo.repsy.io/mvn/gandiber/geckolib/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.pom
Download https://repo.repsy.io/mvn/gandiber/geckolib/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.jar
Download https://repo.repsy.io/mvn/gandiber/geckolib/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7-sources.jar
Download https://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.12.2/4.16.1.301/jei_1.12.2-4.16.1.301.pom
Download https://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.12.2/4.16.1.301/jei_1.12.2-4.16.1.301-api.jar
Download https://dvs1.progwml6.com/files/maven/mezz/jei/jei_1.12.2/4.16.1.301/jei_1.12.2-4.16.1.301-sources.jar
:extractMcpMappings
Download https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_stable/39-1.12/mcp_stable-39-1.12.zip
:deobfCompileDeobfDepTask0
:deobfCompileRemapDepSourcesTask1
:deobfCompileDummyTask
:getVersionJson
:extractUserdev
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2847/forge-1.12.2-14.23.5.2847.pom
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2847/forge-1.12.2-14.23.5.2847-userdev.jar
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:applyBinaryPatches
:deobfProvidedDeobfDepTask0
:deobfProvidedRemapDepSourcesTask1
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:extractMcpData
Download https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.12.2/mcp-1.12.2-srg.zip
:genSrgs
:deobfMcMCP
Applying SpecialSource...
Applying Exceptor...
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find forge-1.12.2-geckolib.jar (deobf.software.bernie.geckolib:forge-1.12.2-geckolib:3.0.0-beta.7).
  Searched in the following locations:
      https://files.minecraftforge.net/maven/deobf/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.jar

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

BUILD FAILED

Total time: 59.084 secs
root@IS-80777:~/ChocolateQuestRepoured#
commented

Aha dammit, its been so long since ive done 1.12.2 that I forgot setupDecompWorkspace was a thing..
Apologies ๐Ÿ‘

commented

OK, no problem. But please do not publish the build without doing the following: Please disable the registration of following entities (they are not published content and we would like to keep it secret), an official patch will be published next tuesday (27.4.21 MET):

  • calamity_crystal
  • end_targeting_laser
  • targeting_laser
  • rotating_laser
  • spectre_lord
  • ender_king
  • ender_calamity
  • spectre_lord_illusion
  • spectre_lord_explosion
  • spectre_lord_curse

And to make a build you should use the gradle_build.bat script because of the aw2 dependency.

commented

I generally just rebase the patch ontop of the existing release commit for the jar in the pack.

It does however still seem that im hitting this issue even with the setupDecompWorkspace..
Is there any chance you have a spare system/vm to test this on just to prove it one way or the other?

root@IS-80777:~/ChocolateQuestRepoured# ./gradlew setupDecompWorkspace
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
Etag download for https://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 404
This mapping 'stable_39' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-6084129e
  https://github.com/MinecraftForge/ForgeGradle
#################################################
                 Powered by MCP
             http://modcoderpack.com
     by: Searge, ProfMobius, R4wk, ZeuX
     Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
:extractMcpMappings
:deobfCompileDeobfDepTask0 SKIPPED
:deobfCompileRemapDepSourcesTask1 SKIPPED
:deobfCompileDummyTask
:deobfProvidedDeobfDepTask0 SKIPPED
:deobfProvidedRemapDepSourcesTask1 SKIPPED
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:genSrgs SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Download https://files.minecraftforge.net/maven/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.pom
Download https://libraries.minecraft.net/com/mojang/patchy/1.1/patchy-1.1.pom
Download https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.pom
Download https://files.minecraftforge.net/maven/net/java/dev/jna/jna/4.4.0/jna-4.4.0.pom
Download https://files.minecraftforge.net/maven/net/java/dev/jna/platform/3.4.0/platform-3.4.0.pom
Download https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.pom
Download https://files.minecraftforge.net/maven/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.pom
Download https://files.minecraftforge.net/maven/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.pom
Download https://files.minecraftforge.net/maven/io/netty/netty-parent/4.1.9.Final/netty-parent-4.1.9.Final.pom
Download https://files.minecraftforge.net/maven/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Download https://files.minecraftforge.net/maven/com/google/guava/guava/21.0/guava-21.0.pom
Download https://files.minecraftforge.net/maven/com/google/guava/guava-parent/21.0/guava-parent-21.0.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-parent/41/commons-parent-41.pom
Download https://files.minecraftforge.net/maven/org/apache/apache/18/apache-18.pom
Download https://files.minecraftforge.net/maven/commons-io/commons-io/2.5/commons-io-2.5.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-parent/39/commons-parent-39.pom
Download https://files.minecraftforge.net/maven/org/apache/apache/16/apache-16.pom
Download https://files.minecraftforge.net/maven/commons-codec/commons-codec/1.10/commons-codec-1.10.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-parent/35/commons-parent-35.pom
Download https://files.minecraftforge.net/maven/org/apache/apache/15/apache-15.pom
Download https://files.minecraftforge.net/maven/net/java/jutils/jutils/1.0.0/jutils-1.0.0.pom
Download https://files.minecraftforge.net/maven/com/google/code/gson/gson/2.8.0/gson-2.8.0.pom
Download https://files.minecraftforge.net/maven/com/google/code/gson/gson-parent/2.8.0/gson-parent-2.8.0.pom
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.25/authlib-1.5.25.pom
Download https://libraries.minecraft.net/com/mojang/realms/1.10.22/realms-1.10.22.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-parent/33/commons-parent-33.pom
Download https://files.minecraftforge.net/maven/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.pom
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.pom
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j/2.8.1/log4j-2.8.1.pom
Download https://files.minecraftforge.net/maven/org/apache/logging/logging-parent/1/logging-parent-1.pom
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.pom
Download https://libraries.minecraft.net/com/mojang/text2speech/1.10.3/text2speech-1.10.3.pom
Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.pom
Download https://files.minecraftforge.net/maven/org/jline/jline/3.5.1/jline-3.5.1.pom
Download https://files.minecraftforge.net/maven/org/jline/jline-parent/3.5.1/jline-parent-3.5.1.pom
Download https://files.minecraftforge.net/maven/org/ow2/asm/asm-debug-all/5.2/asm-debug-all-5.2.pom
Download https://files.minecraftforge.net/maven/org/ow2/asm/asm-parent/5.2/asm-parent-5.2.pom
Download https://files.minecraftforge.net/maven/org/ow2/ow2/1.3/ow2-1.3.pom
Download https://files.minecraftforge.net/maven/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.pom
Download https://files.minecraftforge.net/maven/com/typesafe/config/1.2.1/config-1.2.1.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/modules/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom
Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.pom
Download https://files.minecraftforge.net/maven/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.pom
Download https://files.minecraftforge.net/maven/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.pom
Download https://files.minecraftforge.net/maven/org/apache/maven/maven/3.5.3/maven-3.5.3.pom
Download https://files.minecraftforge.net/maven/org/apache/maven/maven-parent/31/maven-parent-31.pom
Download https://files.minecraftforge.net/maven/org/apache/apache/19/apache-19.pom
Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.pom
Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.pom
Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.pom
Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.pom
Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.pom
Download https://files.minecraftforge.net/maven/net/java/jinput/jinput/2.0.5/jinput-2.0.5.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.4-nightly-20150209/parent-2.9.4-nightly-20150209.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.pom
Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.pom
Download https://files.minecraftforge.net/maven/ca/weblite/java-objc-bridge/1.0.0/java-objc-bridge-1.0.0.pom
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-actors/2.11.0/scala-actors-2.11.0.pom
Download https://files.minecraftforge.net/maven/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.pom
Download https://files.minecraftforge.net/maven/org/codehaus/plexus/plexus/4.0/plexus-4.0.pom
Download https://files.minecraftforge.net/maven/org/sonatype/forge/forge-parent/10/forge-parent-10.pom
Download https://files.minecraftforge.net/maven/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5.pom
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.pom
Download https://files.minecraftforge.net/maven/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar
Download https://libraries.minecraft.net/com/mojang/patchy/1.1/patchy-1.1.jar
Download https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.jar
Download https://files.minecraftforge.net/maven/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar
Download https://files.minecraftforge.net/maven/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar
Download https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar
Download https://files.minecraftforge.net/maven/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar
Download https://files.minecraftforge.net/maven/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar
Download https://files.minecraftforge.net/maven/com/google/guava/guava/21.0/guava-21.0.jar
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
Download https://files.minecraftforge.net/maven/commons-io/commons-io/2.5/commons-io-2.5.jar
Download https://files.minecraftforge.net/maven/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
Download https://files.minecraftforge.net/maven/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
Download https://files.minecraftforge.net/maven/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.25/authlib-1.5.25.jar
Download https://libraries.minecraft.net/com/mojang/realms/1.10.22/realms-1.10.22.jar
Download https://files.minecraftforge.net/maven/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
Download https://files.minecraftforge.net/maven/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar
Download https://libraries.minecraft.net/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar
Download https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar
Download https://files.minecraftforge.net/maven/org/jline/jline/3.5.1/jline-3.5.1.jar
Download https://files.minecraftforge.net/maven/org/ow2/asm/asm-debug-all/5.2/asm-debug-all-5.2.jar
Download https://files.minecraftforge.net/maven/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar
Download https://files.minecraftforge.net/maven/com/typesafe/config/1.2.1/config-1.2.1.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/modules/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.jar
Download https://files.minecraftforge.net/maven/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
Download https://files.minecraftforge.net/maven/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.jar
Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.jar
Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
Download https://files.minecraftforge.net/maven/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar
Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.jar
Download https://files.minecraftforge.net/maven/ca/weblite/java-objc-bridge/1.0.0/java-objc-bridge-1.0.0.jar
Download https://files.minecraftforge.net/maven/org/scala-lang/scala-actors/2.11.0/scala-actors-2.11.0.jar
Download https://files.minecraftforge.net/maven/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.jar
Download https://files.minecraftforge.net/maven/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar
Download https://files.minecraftforge.net/maven/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar
Download https://files.minecraftforge.net/maven/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar
:fixMcSources
:applySourcePatches
:remapMcSources
:recompileMc
:extractNatives
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.pom
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j/2.0-beta9/log4j-2.0-beta9.pom
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.pom
Download https://libraries.minecraft.net/com/mojang/text2speech/1.10.3/text2speech-1.10.3-natives-linux.jar
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar
Download https://files.minecraftforge.net/maven/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar
:getAssetIndex
:getAssets
Current status: 1068/1305   81%
:makeStart
:setupDecompWorkspace

BUILD SUCCESSFUL

Total time: 2 mins 36.067 secs
root@IS-80777:~/ChocolateQuestRepoured# ./gradlew build -PbuildJar
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
Etag download for https://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 404
This mapping 'stable_39' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-6084129e
  https://github.com/MinecraftForge/ForgeGradle
#################################################
                 Powered by MCP
             http://modcoderpack.com
     by: Searge, ProfMobius, R4wk, ZeuX
     Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
:extractMcpMappings SKIPPED
:deobfCompileDeobfDepTask0 SKIPPED
:deobfCompileRemapDepSourcesTask1 SKIPPED
:deobfCompileDummyTask
:deobfProvidedDeobfDepTask0 SKIPPED
:deobfProvidedRemapDepSourcesTask1 SKIPPED
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find forge-1.12.2-geckolib.jar (deobf.software.bernie.geckolib:forge-1.12.2-geckolib:3.0.0-beta.7).
  Searched in the following locations:
      https://files.minecraftforge.net/maven/deobf/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.jar

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

BUILD FAILED
commented

Hm, weird...

I currently have no spare machine to test it but i can offer you to send you a build with disabled new features if that's ok for you or i'll publish the fix update (i guess you mean fixes to bugs similar to #271 ?) later today.

I can also ask the geckolib devs if something's wrong on their side (happened in the past afaik)

commented

Hey guys Im not forking this project or anything just wanna let you guys know that I had issue adding gecko lib myself (to a mod I'm working on) yesterday and I had the same issue

commented

I just ran

gradlew cleanCache
gradlew setupDecompWorkspace
gradlew eclipse

and I got no errors.

commented

I've tried multiple times, something that doesn't give me any errors but when I run client it gives the error

Fyi I'm using IntelliJ but I did

gradlew cleanCache
Import into IntelliJ
Error pop up

Also asked in gecko lib discord, they said something about forge updating their maven, that might be why..?

commented

It seems to use the wrong maven for geckolib. This is from where it gets downloaded for me:

Download https://repo.repsy.io/mvn/gandiber/geckolib/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.pom
Download https://repo.repsy.io/mvn/gandiber/geckolib/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.jar
Download https://repo.repsy.io/mvn/gandiber/geckolib/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7-sources.jar
commented

It never even downloaded for me I don't think

commented

In the log from clienthax it says:

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find forge-1.12.2-geckolib.jar (deobf.software.bernie.geckolib:forge-1.12.2-geckolib:3.0.0-beta.7).
  Searched in the following locations:
      https://files.minecraftforge.net/maven/deobf/software/bernie/geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/forge-1.12.2-geckolib-3.0.0-beta.7.jar

So it searched in the wrong location for him.
You could check if this file is pointing at the wrong location maybe:
USERNAME/.gradle/caches/modules-2/metadata-2.16/descriptors/software.bernie.geckolib/forge-1.12.2-geckolib/3.0.0-beta.7/SOMETHING/ivy.xml
This is how it looks for me:

<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
  <info organisation="software.bernie.geckolib" module="forge-1.12.2-geckolib" revision="3.0.0-beta.7" status="release" publication="20210424144028">
    <description homepage=""/>
  </info>
  <configurations>
    <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
    <conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
    <conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
    <conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
    <conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
    <conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
    <conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
    <conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
    <conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
    <conf name="optional" visibility="public" description="contains all optional dependencies"/>
  </configurations>
  <publications/>
</ivy-module>

commented

Unfortunately I don't have these cache files anymore, sorry, but I was having the exact same error as you are so im assuming it would be the same

commented

Seems this is due to this using ForgeGradle2 and forge upstream changes..
Joys of old versions :D

image

commented

Ah ok, good to know
Thanks!