Jump to content

Local Jar Dependency


shieldbug1

Recommended Posts

I have a 'Library' I have also created for use with Forge. I built a deobfuscated jar of it, and referenced it as an external library in eclipse. However, when I tried to build my mod (that depends on my library), Gradle complains about the library classes and packages not existing. I know there must be something I need to add to the build.gradle file to let Gradle find the library, but I'm not sure what it is.

BEFORE ASKING FOR HELP READ THE EAQ!

 

I'll help if I can. Apologies if I do something obviously stupid. :D

 

If you don't know basic Java yet, go and follow these tutorials.

Link to comment
Share on other sites

  • 5 years later...
On 12/8/2014 at 10:45 PM, shieldbug1 said:

I built a deobfuscated jar of it

How did you build the deobfuscated jar? I'm trying to do the same thing with my environment. I built a lib mod, but can't seem to get it to load with my other mod.

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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