Trouble Compiling SpongeVanilla

Hey guys,

I’m trying to get a vanilla server up and running but I seem to be having a bit of trouble trying to compile SpongeVanilla.
Im running a Debian Wheezy server and I get up to running this command ./gradlew from the Setup section of the documents GitHub - SpongePowered/SpongeVanilla: The SpongeAPI implementation for Vanilla Minecraft..

When I try to use ./gradlew I get this

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':runtime'.
> Could not resolve :minecraft_merged_bin_SpongeVanilla:1.8.
  Required by:
   > Could not resolve :minecraft_merged_bin_SpongeVanilla:1.8.
      > Could not get resource ''.
         > Could not GET ''. Received status code 403 from server: Forbidden

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


I do have full printout if needed. I ran the command with --info like it says to do.
Im not sure what I am doing wrong.

This error is caused by returning 403 errors, instead of a 404 like a proper Maven repository.

The solution is to run one of these Gradle tasks: setupCIWorkspace, setupDevWorkspace, or (every Sponge developer’s favorite) setupDecompWorkspace.

If you’re just building Sponge, and not actually working on the project, you can just use a setupCIWorkspace. If you plan on contributing, you’ll want to use setupDevWorkspace, or setupDecompWorkspace if you want MCP names, instead of SRG names (func_xxxx_a, field_xxxx_b, etc).

1 Like

Thats a whole lot of jargon right there Mr :stuck_out_tongue:

I think what I am getting is I need to run ./gradlew setupCIWorkspace.
As I dont really know anything about coding I wouldn’t be able to contribute anything other than fancy colourings lol.

It seems I must also appologise >.> If I had just scrolled down a few centimeters more, I would have seen this

Before you are able to build SpongeVanilla, you must first prepare the environment:

Run gradle setupDecompWorkspace --refresh-dependencies