JetBrains / sbt-idea-plugin

Develop IntelliJ plugins with Scala and SBT
Apache License 2.0
97 stars 28 forks source link

Support new plugin classloading mechanism since IJ 203.5251 #81

Closed mutcianm closed 3 years ago

mutcianm commented 3 years ago

Since IJ build 203.5251 non-bundled plugins in tests must be loaded in AppClassLoader. In order to do that the plugin jars must be prepended to main IJ classpath and a property(idea.use.core.classloader.for) must be passed, containing plugin ids for the plugins that should be loaded into the AppClassLoader.

related fix in IJ-gradle plugin: https://github.com/JetBrains/gradle-intellij-plugin/commit/83918557a0c518f698f48fb8868d091cd5ce28ed