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

Hi,

 

Is there any way to access the forge jar as a maven dependency? I want to write a library with helpers, that can later be used by a mod, in a normal gradle mod build.

 

Or perhaps my only alternative would be to add 'forge-<version>-userdev.jar' directly?

 

thank you!

 

[]s,

just you wait! ;)

  • Author

Makes sense, unfortunately. Publishing locally should be safe, though? Would ForgeGradle support that? I tried a quick

./gradlew install

but nothing seemed to happen.

 

thanks!

just you wait! ;)

  • Author

But that only publishes to the gradle cache, right? This means I would have to use gradle in my lib as well (I planned to use sbt).

gradle install
should install stuff in the maven cache, and then I would be able to access to it from sbt as well.

 

I guess the jars are published via code, so that's why install doesn't do that to them? Can you point me at where those tasks are implemented? I'm not familiar with gradle plugin development.

 

Also, if I end up using gradle instead, where should I look to understand what group / artifact / version I need to mention in my project config?

 

thanks!

just you wait! ;)

  • Author

So... I'll try to keep things simple and run with gradle. I added this to my build:

 

compile "net.minecraftforge:forge:1.7.10-10.13.2.1291"

 

but gradle couldn't find it. What's wrong? I have a full forge mod project that runs fine, so the jar is there. I also tried this:

 

compile "net.minecraftforge:forge:1.7.10-10.13.2.1291-userdev"

 

with the same results.

 

thanks!

just you wait! ;)

  • Author

I was trying to do it without the whole ForgeGradle environment. Now, since I decided to stick to gradle, having that environment probably won't be really a problem - I'll roll with that for now.

 

Thank you =)

just you wait! ;)

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.