Jump to content

Setting up Minecraftforge/Gradle for portable use


Xerus

Recommended Posts

I want to setup gradle portable but when I try to run it offline by

gradlew eclipse --offline

(yes i ran it online before and I have the .gradle folder) the following problem occurs. Can I fix it by moving a file somewhere?

 

A problem occurred configuring root project 'SimpleAutomation'.

> Could not resolve all dependencies for configuration ':classpath'.

  > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT.

    Required by:

        :SimpleAutomation:unspecified

      > No cached version of net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT available for offline mode.

 

What I know:

  • This is a dependency by build.gradle(line 11)
  • This file exists at GRADLE_USER_HOME\caches\modules-2\files-2.1\net.minecraftforge.gradle\ForgeGradle\2.2-SNAPSHOT

Link to comment
Share on other sites

in <userhome>\.gradle\cashes\minecraft\net\minecraftforge\forge\<forge version>\* are alot of files also theere is a fml and a minecraft folder, so there are lots of files you need also.

catch(Exception e)

{

 

}

Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).

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.

Announcements



×
×
  • Create New...

Important Information

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