sbt-idea-plugin icon indicating copy to clipboard operation
sbt-idea-plugin copied to clipboard

How to set unmanaged-jars to Provided or Runtime scope

Open rikvdkleij opened this issue 4 years ago • 2 comments

Every time after refreshing my plugin project, I have to remember to set the scope of the unmanaged jars to Provided. Otherwise I can't start an IntelliJ instance from within IntelliJ (because all intellij classes are twice on the classpath).

I tried to figure out how to change my build.sbt to solve this but I can't find a solution.

Many thanks in advance!

rikvdkleij avatar Aug 08 '20 12:08 rikvdkleij

Are you starting IntelliJ via an sbt task or a generated run configuration?

mutcianm avatar Sep 11 '20 12:09 mutcianm

The IntelliJ instance which is started from within IntelliJ is started by a plugin (run) configuration.

rikvdkleij avatar Sep 11 '20 12:09 rikvdkleij