Jump to content

Recommended Posts

Posted

I've made my mod, it works well in my dev environment, however it has a lot of dependencies meaning that if it were to be used on another client, all of the required dependencies would have to be separately installed onto that client. Is there a method or tutorial for setting up gradlew so that when the mod is compiled, specified jars using their file path are embedded into the mod? I did see the forge dependencies page on github but I didn't see anything about embedding using a file path.

 

Also, in case it is necessary, I'm modding in 1.8. After I know how to do this, I'll port to 1.8.9.

 

EDIT: I am aware of licensing and will not embed anything that causes a breach of that dependencies license.

Posted

Embedding .jars is a bad idea.

 

What if the client already has the dependencies for other mods? Then their game will crash due to two different versions of the same mod.

It's best just to link to the dependencies on your mod webpage.

Posted

These dependencies aren't other forge mods but other projects made in java. However, I do understand what you mean and although I think it's unlikely that another mod will use those dependencies, I guess in the spirit of good coding practice, I'll just link them. Thanks.

 

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.