Uh I don't know what I am doing but please help

I am trying to compile a forge mod (1.12.2) Src, but when I run the build bat file it gives me:

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘Phobos_1.7.2-BUILDABLE-SRC-Non-Chinese–main’.

Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve org.spongepowered:mixingradle:0.6-SNAPSHOT.
Required by:
project :
Could not resolve org.spongepowered:mixingradle:0.6-SNAPSHOT.
Unable to load Maven meta-data from http://repo.spongepowered.org/maven/org/spongepowered/mixingradle/0.6-SNAPSHOT/maven-metadata.xml.
Could not get resource ‘http://repo.spongepowered.org/maven/org/spongepowered/mixingradle/0.6-SNAPSHOT/maven-metadata.xml’.
Could not GET ‘http://repo.spongepowered.org/maven/org/spongepowered/mixingradle/0.6-SNAPSHOT/maven-metadata.xml’. Received status code 520 from server: Origin Error

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s
plz help I don’t know what to do
Edit: src: Gopro336/Phobos_1.7.2-BUILDABLE-SRC-Non-Chinese-: Buildable SRC for phobos client version 1.7.2. It is fully functional and not chinese (github.com)

1 Like

Yea, I’m getting the same error with both Phobos and any other forge mod I try to compile.

in the build.gradle file change the http://repo.spongepowered.org/maven/ links to https://repo.spongepowered.org/repository/maven-public

Hi, I fixed that, but now it’s giving me:
Could not resolve all files for configuration ‘:forgeGradleMcpData’.

Could not resolve de.oceanlabs.mcp:mcp:1.12.2.
Required by:
project :
Could not resolve de.oceanlabs.mcp:mcp:1.12.2.
Could not get resource ‘http://repo.spongepowered.org/maven-public/de/oceanlabs/mcp/mcp/1.12.2/mcp-1.12.2.pom’.
Could not GET ‘http://repo.spongepowered.org/maven-public/de/oceanlabs/mcp/mcp/1.12.2/mcp-1.12.2.pom’. Received status code 520 from server: Origin Error

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Still no idea what I’m doing, help?

1 Like

I think you might have changed the link to https://repo.spongepowered.org/maven-public not the right one, http://repo.spongepowered.org/repository/maven-public

i am getting the same thing, trying to run any gradle task with my salhack based client… Idk, i havent done anything, it just cant run for some reason. Yesterday it was normal

Btw, is gopros phobos safe… maybe the original classes that crystalinqq used for ratting are gone, but gopro could have moved the rat to other classes…

same problem here, so how do i install it

your intellij/eclipse fails because the current maven repo is not right this is a bug with forge someone by the name of lukflug fixed this issue themself to make this work all you need to do is add a new maven repo in build.gradle like this and you should be fine if you still have problems add me on discord im a client developer ill help you out Officxr32k#3340 and that fixes the problem for all of you.
maven {
name = ‘lukflug’
url = ‘https://lukflug.github.io/maven
}