Jump to content

Recommended Posts

Posted

I've downloaded and installed to the PC the latest version of Gradle.

 

http://www.gradle.org/downloads

 

I've downloaded and ran "install.cmd" on this version of Forge:

http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.6.4-9.11.1.953/forge-1.6.4-9.11.1.953-src.zip

 

Both installed and ready. Fine so far. I can make HelloWorld mod and test it in Eclipse.

 

But not with Gradle... yet.

 

Now, I've read through enough posts here to give me a migrane on this "gradle eclipse" or "gradle setupDevWorkSpace" .. but I'm not getting the connection.

 

I'm in Eclipse -- I can setup a project and use eclipse to build.

 

I'm looking at this text from http://www.minecraftforge.net/forum/index.php?topic=14048.0

 

Windows:

Run the following in command prompt:

 

gradlew.bat setupDevWorkspace

gradlew.bat eclipse

 

Is there a package to download that defines the project/task "setupDevWorkspace", "eclipse" ?  I didn't see it in the forum.

 

Which "zip do I download" referred to here in step 1 "download and extract the src zip" of the post:

http://www.minecraftforge.net/forum/index.php/topic,14045.msg72127.html#msg72127

 

Thanks in advance.

 

 

Posted

Errrrr.... you are doing it wrong.

 

First, you need to be using forge build 964 if you want to take advantage of gradle.  Build 953 will not cut it.'

 

Next, you don't need to download gradle yourself, if you run the right commands forge will do it itself.

 

Other than that, just follow the tutorial you were following.

 

Also, I suggest you run setupDecompWorkspace instead of setupDevWorkspace.  I have been having some issues with it, but it supposedly gives you decompiled Minecraft code to work with.

Posted

Thanks.

 

It's pretty interesting how well things start working when I stop doing it wrong.  ;-) ;-)

 

Got it now.  I didn't realize it was tied to the version of Forge.

Posted

Errrrr.... you are doing it wrong.

 

First, you need to be using forge build 964 if you want to take advantage of gradle.  Build 953 will not cut it.'

 

Next, you don't need to download gradle yourself, if you run the right commands forge will do it itself.

 

Other than that, just follow the tutorial you were following.

 

Also, I suggest you run setupDecompWorkspace instead of setupDevWorkspace.  I have been having some issues with it, but it supposedly gives you decompiled Minecraft code to work with.

True, you may not *need* to install gradle yourself, But I do it myself because it means I can remove 2 more files from my git, makes for a cleaner setup.

CreepyPastaCraft git | SCPCraft git

Keep an eye on them, see that I'm still working on it :P

Posted

In repos it's advised that you keep the wrapper so that people who DONT have gradle installed can use your repo.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

No, the gradle wrapper is a jar file and 2 scripts.

The Jar file is needed to download files as windows is stupid and doesn't have a standard cli file downloader.

So the wrapper constits of the 'gradle' folder and 'gradlew.bat/.sh' files.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.