Railcraft

Railcraft

34M Downloads

Unable to build Railcraft on Windows 10 with JDK 8 Update 31

evelynharthbrooke opened this issue ยท 7 comments

commented

@CovertJaguar For some reason, when I'm trying to build Railcraft, Gradle skips most of the tasks such as decompiling Minecraft & Railcraft and the deobfuscateJar task, and I don't know why over 50% of the tasks are being skipped. Can we not use Java 8 to build Railcraft? I attached a photo of the tasks being skipped. I really want to build Railcraft, but stupid Gradle isn't letting me. Please help. ๐Ÿ˜ž

build issue

commented

@CovertJaguar Nevermind. All I had to do was do 'gradle cleanCache' and now it's working. :)

commented

@CovertJaguar Actually nevermind again. It still fails to build when I do 'gradle build'. For some reason it always fails at the ":compileJava" task, and I don't know why. Below is a screenshot of what happens.
Could you please help?
build issue

commented

@KamranMackey it looks like the RC api is missing, that's a submodule, did you pull that in? git often misses that when cloning

commented

Yeah, try 'git submodule init'

commented

@CovertJaguar @AEnterprise okay. Will do that, and then I'll try building again.

commented

@CovertJaguar @AEnterprise Tried it, still fails to build. Tried doing "git submodule update" and it keeps trying to use SSH to clone the repos. SSH is something I don't have set up.

commented

@CovertJaguar @AEnterprise Nevermind! I just had to open .git/config and then change all the SSH URLs for the submodules to HTTPS ones and then I was able to build Railcraft successfully. Thanks for all your guys' help!