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.
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.
prepare plugin deployment
then got plugin, zipped, ready deployment (uploading repo or installing locally) in root of project. contain
lib
folder necessary jars.
Comments
Post a Comment