Adding third party jar to the plugin project

I creating a plugin which use the projectTemplate extension point.

How ever my project template use third party dependencies such as google-guava, jetty etc...

How to include them in the plugin project.

1 comment
Comment actions Permalink

Just add a jar as a library to the project. If you use the "Prepare plugin module for deployment" action, it will be packaged automatically.

At runtime, you can discover the path to the .jar using PathManager.getJarPathForClass().


Please sign in to leave a comment.