Failed to Build Baritone on Linux
VincentCCandela opened this issue ยท 1 comments
What do you need help with?
I use Xubuntu 18.04, and I've tried building Baritone from the terminal. I ran ./gradlew setupDecompWorkspace
, and I got this error:
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'baritone'.
> 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
Note: my internet works so I'm not sure why it does not download that stuff
If anybody could help that would be fantastic. I've never developed much before, and I am quite new to Java as well so please excuse me if this is some obvious mistake that I'm making.
this is due to SpongePowered mixin's maven changing url's. there's a fix at #2407 already. if you've built it in the past you can try with --offline
to use your cache and not have to change anything.