Jump to content

how do you update forge versions with gradle?


mrgreaper

Recommended Posts

i was told by the man himself one night on irc that one of the cool features of gradle is you change one file and run gradle and it will update itself to that version of forge with out effecting the src files you have created making your mod

 

 

however i cant renember how this witchcraft is achived!

 

so i ask you, i have gradle for forge 1.7.2 (it doesnt seem to exist for 1.6.4 anymore! which is a shame as i could of started to use it then updated but oh well) build 976, i see that forge 1.7.2 build 977, now i know in practice you wouldnt just jump to the next version of forge just because its there but im trying to work out how to update it so this is a good test... so yeah what do i do or type to have my gradle update itself from mc 1.7.2 forge 976 to mc 1.7.2 forge 977 

 

on a side note will it be the same to update it from say mc 1.7.2 forge 977 to 1.7.4 forge xxx when forge actually updates to current mc?

Link to comment
Share on other sites

minecraft {

version = "mcver-forgever"

assetDir = "rundir/assets"

}

 

Change forgever to update forge, change mcver to update minecraft

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

minecraft {

version = "mcver-forgever"

assetDir = "rundir/assets"

}

 

Change forgever to update forge, change mcver to update minecraft

thanks  for the reply but still a bit hazy on the details

what file is that in? (im kind of opening files to look at mo but no wiser)

 

do just run

gradlew.bat setupDecompWorkspace

then

gradlew.bat eclipse

 

after i change the file or is there a different command?

Link to comment
Share on other sites

Thank you.

 

it was a bit different on mine

 

minecraft {

    version = "1.7.2-10.12.0.976"

 

i changed that to

 

minecraft {

    version = "1.7.2-10.12.0.977"

 

and ran "gradlew.bat eclipse" it worked a treat, so we just need to know what the magic numbers are each update, for most its going to be simple up the number to what ever the recommanded for other times we may need to request what the numbers are. im not a fan of this new method, it was a lot easier to just replace the forge folder and re-run install but im sure i will get used to it with time.

Link to comment
Share on other sites

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.

×
×
  • Create New...

Important Information

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