You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually related to sbt/sbt#4632
scala-library is correctly added to "Provided" but still ends up in the "Compile" scope because it's a transitive dependency of "better-files" which is an expected sbt behaviour.
I guess the only reasonable solution is to explicitly filter out all scala-library instances from the resulting classpath.
handles the case when scala-library is filtered out from the classpath
when using "bundleScalaLibrary = false" in IJ plugins that depend
on Scala plugin etc.
If any libraryDepencies is used, then scala-library is also get bundled even when bundleScalaLibrary is set to false.
Below is the command that is used to package plugin :-
sbt clean compile packageArtifact
Simplified project to reproduce this issue :-
https://github.com/moglideveloper/SamplePlugin
build.sbt
The text was updated successfully, but these errors were encountered: