Jump to content

[1.7.2] include another Project


Recommended Posts

This might be incredibly dumb (and feel free to tell me if i shouldn't be doing this), but I end up using a lot of the same methods and functions in most of my mods.  Instead of copy/pasting, i decided to create a separate project in Eclipse for those and just include them in the build path of my mods (setup so each mod is a separate project.


The problem is when I run minecraft in the development environment (and I would presume if I tried to compile) its not including that separate project.


From reading, I see things about setting Gradle to include an external JAR and I suspect this is a similar thing.  I can't figure out from the documentation how to do this.


Anyone able to help?

Long time Bukkit & Forge Programmer

Happy to try and help

Link to comment
Share on other sites


thanks, but those were not what I was trying to do.  I probably didn't word it right.


I found the solution and posted it in another post of mine.


Something like this goes at the very end of all your projects where you want to include another 'common' set of code.




dependencies {

        compile files (









Long time Bukkit & Forge Programmer

Happy to try and help

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.

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.


  • Create New...

Important Information

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