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

Hello guys :)

So i am working on a bigger plugin/mod currently that i want to be compatible with multiple API's like Bukkit, Sponge and now Forge.
This is currently built with gradle and the johnrengelman.shadow plugin to make an universal jar. Here is the project.

With the last commit in that branch i tried to add the Forge Implementation but when i am trying to build it i get this issue that i don't know how to fix:

> Configure project :BlueMapForge
New Dep: net.minecraftforge:forge:1.14.4-28.1.0_mapped_stable_58

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
   > Could not find net.minecraftforge:forge:1.14.4-28.1.0_mapped_stable_58.
...

Here is the full error and gradle scan: https://gradle.com/s/7z2is226v6v3q

I am currently using gradle 5.6.4 with this built but i have also tried gradle 4.9 which gets me exactly the same error ^^

  • Author

So if no one knows this, does somebody has an idea where i might get more help with this issue?
Or do you think this is just not feasible like this?

You should not be shading all of minecraft/its dependencies into your jar file...

You could in theory make a single jar that works on all systems if you keep everything abstracted out.

But honestly it's better/easier to just build separate jars.

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

  • Author

No, you misunderstood @LexManos :D
I don't want to shade forge or minecraft, i am shading only libs that i am using myself ... i want to exclude forge/minecraft from the shading like i already do with bukkit and sponge.
I just want forge to compile with it, while using the shade-plugin and having the forge implementation/dependency in a gradle sub-project. 
Dynmap does the same thing, but i can't get it to work for my project.

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.