Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I'm trying to make a quick way for me to be able to update forge for all my 1.8 mods. I'm using a .cmd file ran from the directory where I store all my projects.

 

cd Durability Show 1.8

gradle clean setupDecompWorkspace eclipse build

cd ../Random Utilities 1.8

gradle clean setupDecompWorkspace eclipse build

pause

 

I have more projects than this however that's the gist. After the first gradle line finishes (After durability show builds) the command prompt closes. I have no idea why this happens, it's always whenever I try to run any command after gradle, typing them manually works fine but in the automated file it refuses to work. Any idea how this can be fixed?

  • Author

Thanks :) Now would you know how I can have a build.properties in the main directory and all the build.gradles can pull the forge version and mappings from there.

I tried looking at https://github.com/SlimeKnights/TinkersConstruct/blob/master/build.gradle and copied these lines

ext.configFile = file "C:/Users/Mitch/Central Storage/eclipseworkspace/build.properties"

configFile.withReader {
def prop = new Properties()
prop.load(it)
project.ext.config = new ConfigSlurper().parse prop
}

However now when running gradle (Testing with gradle tasks) I get

FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\Mitch\Central Storage\eclipseworkspace\Durability Show 1.8\build.gradle' line: 28
* What went wrong:
A problem occurred evaluating root project 'Durability Show 1.8'.
> [Ljava/util/HashMap$Entry;
BUILD FAILED
Total time: 9.735 secs

Where line 28 is project.ext.config = new ConfigSlurper().parse prop

 

Any idea?

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.