anatawa12 / ForgeGradle-1.2

This is only for FG_1.2(for minecraft 1.7.10). Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
80 stars 30 forks source link

gradlew build stopped working #87

Closed hohserg1 closed 3 years ago

hohserg1 commented 3 years ago

I have a some workspace which was working. Today I try to execute gradlew build and got follor log:

PS C:\Users\hohserg\Documents\modding\Test> .\gradlew.bat build

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'Test'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.eclipse.platform:org.eclipse.equinox.common:[3.14.0,4.0.0).
     Required by:
         project : > com.anatawa12.forge:ForgeGradle:1.2-1.0.6 > net.minecraftforge:Srg2Source:4.2.7 > org.eclipse.jdt:org.eclipse.jdt.core:3.14.0 > org.eclipse.platform:org.eclipse.core.runtime:3.20.100
         project : > com.anatawa12.forge:ForgeGradle:1.2-1.0.6 > net.minecraftforge:Srg2Source:4.2.7 > org.eclipse.jdt:org.eclipse.jdt.core:3.14.0 > org.eclipse.platform:org.eclipse.core.runtime:3.20.100 > org.eclipse.platform:org.eclipse.equinox.registry:3.10.100
      > Failed to list versions for org.eclipse.platform:org.eclipse.equinox.common.
         > Unable to load Maven meta-data from https://files.minecraftforge.net/maven/org/eclipse/platform/org.eclipse.equinox.common/maven-metadata.xml.
            > Could not get resource 'https://files.minecraftforge.net/maven/org/eclipse/platform/org.eclipse.equinox.common/maven-metadata.xml'.
               > Could not GET 'https://maven.minecraftforge.net/org/eclipse/platform/org.eclipse.equinox.common/maven-metadata.xml'. Received status code 500 from server: Internal Server 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 17s
PS C:\Users\hohserg\Documents\modding\Test>

How to fix?

hohserg1 commented 3 years ago

Ok, I tried to run with --offline and it work...

anatawa12 commented 3 years ago

In short, I'll wait and see for a few days. I think it's Forge Development Team's mistake. Please use --offline with caches as a workaround. If there's no update by ForgeDevTeam for a long time, I'll do something.

THIS WAS FIXED

DRKV333 commented 3 years ago

Well, it still doesn't work, but instead of 500 Internal Server Error, it's now a 422 Unprocessable Entity...

anatawa12 commented 3 years ago

@DRKV333 Can you show me the error message? CI works well so I think there's no errors from forge's maven server

DRKV333 commented 3 years ago

Yeah, sorry, it's actually working fine fine now. I was trying to get someone else's mod to build, and there were some other problems with the configuration.

anatawa12 commented 3 years ago

@DRKV333

I was trying to get someone else's mod to build, and there were some other problems with the configuration.

If your problems looks problems of this ForgeGradle, plesae make a new issue.

It looks this issue had been resolved so I'll close this issue.