MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
521 stars 444 forks source link

Gradle Dev Workspace Creation Failure on :minecraftNatives #34

Closed hunterboerner closed 10 years ago

hunterboerner commented 10 years ago

Running on OS X 10.9.1, Forge 1.7.2-10.12.0.967

I grabbed Forge 967 and attempted to create the dev workspace using the recommended setup.

$ ./gradlew setupDevWorkspace

Powered By MCP:

http://mcp.ocean-labs.de/

Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn

MCP Data version : unknown

:extractUserDev FAILED

FAILURE: Build failed with an exception.

What went wrong: Execution failed for task ':extractUserDev'. > Could not resolve all dependencies for configuration ':minecraftNatives'. > Could not resolve org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20131017. Required by: com.yourname.modid:minecraft:1.0 > Could not resolve org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20131017. > Could not parse POM https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017.pom > Could not resolve org.lwjgl.lwjgl:parent:2.9.1-SNAPSHOT. > Unable to load Maven meta-data from https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml. > Could not GET 'https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden

hanetzer commented 10 years ago

try modifying the 1.7.2 json to match what's in your minecraft install's json.

DerFlash commented 10 years ago

@ntzrmtthihu777: The problem is, that a fresh 1.7.2.json from Mojang contains those missing lwjgl library versions. So a match doesn't help, since it already matches ;-)

What you can do to get FG working for now: Open the dev.json and change:

2.9.1-nightly-20131017 to 2.9.0

Then run setupDecompWorkspace again.

keplersj commented 10 years ago

I put my dev.json on gist for anyone that doesn't want to search for the LWJGL values that are causing this.

LexManos commented 10 years ago

This isn't really anything we can deal with, mojang is having issues on there servers. The running theory is they have burnt through there bandwidth for the month, It should reset tomarrow, we'll take a look after that if it's still having a issue.

hunterboerner commented 10 years ago

@LexManos, how does a company that makes millions of dollars a year "burn through their bandwidth". Also, their* :us:

arun-gupta commented 10 years ago

Encountered this issue while generating a kit for an upcoming modding workshop: http://www.meetup.com/Devoxx4Kids-BayArea/

Changing

2.9.1-nightly-20131017

to

2.9.0

fixed the issue for me too. Important to note that the change needs to be made at three places.

spaceemotion commented 10 years ago

I know this has already been closed, but fyi there already is a post about this on the forums: http://www.minecraftforge.net/forum/index.php?topic=15140.0.