1 follower Follow

packaging third party libraries



I've been quite successful in running a custom developed plugin from the Idea IDE and after some some trial and error I also managed to package it as a plugin for my users.

I also manged to add some third party libraries to support @NotNull annotations and some other features and run the plugin from the deve environment.

So far I did not managed to package any third party libraries in my custom code and I can not seem to find any ant script or documentation to accomplish this.

Do you have any guide or samples that I can follow?





Please sign in to leave a comment.

1 comment


Hi Adrian,

To include third party libraries you need to package your plugin in a folder before zipping it up into a gplugin.  Any jar files that are in the root of that folder will automatically be included on the classpath.  The folder name must match the name of your plugin class.

Are you using our plugin development kit from ? The example build.xml files in there have a commented out section for folder type plugins.

Alternatively there are a number examples on The biocode-lims is an example of a plugin that includes libraries using Apache Ant and Apache Ivy.  If you're looking for a more modern build system then the geneious-eupathdb repository is built using Gradle.  

Matthew Cheung 0 votes
Comment actions Permalink