Open unkarjedy opened 3 years ago
I tracked down the bug to org.jetbrains.sbtidea.packaging.structure.sbtImpl.SbtPackageProjectData.cp
:
it contains deduplicated entries, which only contains single version of scala3-sbt-bridge
library.
Looks like it comes from sbt behaviour: it evicts libraries in managedClasspath
which is passed to SbtPackageProjectData.cp
I stopped my investigation, cause I am already too far from my original task.
For now, I use a hack: create a new runtimeDependencies2
project with it's own mapping for 3.0.2
version
runtimeDependencies
project definitionpackageLibraryMappings
add(I have a locally-published version of scala3-sbt-bridge 3.0.2, published from dotty repository)
scala-plugin-for-ultimate\.idea\artifacts\scalaUltimate.xml
only contains item for one artifact:so packaged Scala plugin will contain only one jar