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
If a plugin has a module marked as required, its JAR may not be added to the compilation classpath automatically when dependency on the plugin is added in build.gradle.kts.
(This issue was moved from IJ Platform Issue tracker: IJPL-177264.)
…'bundledPlugins' is used (#1883)
A content module registered as 'required' or 'embedded' in the plugin descriptor is guaranteed to be loaded if the plugin itself is loaded. Since 'depends' tag adds classloaders from all content modules as parent classloaders, references to classes from such modules will be resolved at runtime.
…'bundledPlugins' is used (#1883)
A content module registered as 'required' or 'embedded' in the plugin descriptor is guaranteed to be loaded if the plugin itself is loaded. Since 'depends' tag adds classloaders from all content modules as parent classloaders, references to classes from such modules will be resolved at runtime.
…'bundledPlugins' is used (#1883)
A content module registered as 'required' or 'embedded' in the plugin descriptor is guaranteed to be loaded if the plugin itself is loaded. Since 'depends' tag adds classloaders from all content modules as parent classloaders, references to classes from such modules will be resolved at runtime.
What happened?
If a plugin has a module marked as required, its JAR may not be added to the compilation classpath automatically when dependency on the plugin is added in build.gradle.kts.
(This issue was moved from IJ Platform Issue tracker: IJPL-177264.)
Relevant log output or stack trace
Steps to reproduce
Configure the following dependencies:
org.jetbrains.yaml.YAMLFileType
reference in code won't be resolved. Adding explicitbundledModule("intellij.yaml.editing")
fixes the problem.This happens because the class belongs to a module in the YAML plugin which is marked as required, but it isn't added to the classpath automatically.
Gradle IntelliJ Plugin version
2.2.1
Gradle version
8.5
Operating System
None
Link to build, i.e. failing GitHub Action job
No response
The text was updated successfully, but these errors were encountered: