How to specify library dependencies for an IntelliJ IDEA plugin? -


i developing plugin intellij idea. way going creating plugin project in idea, packaging jar appropriate meta-inf/plugin.xml, , installing plugin jar.

the problem add dependency on org.scala-lang:scala-library:2.11.0. have specified library dependency in idea project, information never seems passed along generated jar.

how can include information in such way intellij idea recognize it?

as far understand, want bundle library (e.g. scala library) plugin. pretty simple.

  1. go project settings, select module , go dependencies tab. set scope library want bundle 'compile'. in example 'checker-framework' library. 'groovy-2.3.6' library not bundled due scope set 'provided'. save changes.

    module dependencies tab

  2. prepare plugin deployment

    prepare plugins deployment action

  3. then got plugin, zipped, ready deployment (uploading repo or installing locally) in root of project. contain lib folder necessary jars.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -