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
External plugin dependencies that are not packaged as JAR files, can result in files from that dependency leaking into the plugin sandbox. To reproduce:
Create a plugin
Add an external dependency on CheckStyle-IDEA 5.1.4 (or whatever the current version)
Build the plugin
Notice that various files from the CheckStyle-IDEA plugin are present in the build/idea-sandbox/plugins/<plugin name>/lib directory
From debugging the code, it appears that the external dependency classes and META-INF directories are reported by Gradle with a trailing /. whereas the plugin dependencies directories in librariesToIgnore do not have the trailing slash. So the exclusion fails and the artifacts are left in the plugin bundle.
The text was updated successfully, but these errors were encountered:
External plugin dependencies that are not packaged as JAR files, can result in files from that dependency leaking into the plugin sandbox. To reproduce:
build/idea-sandbox/plugins/<plugin name>/lib
directoryFrom debugging the code, it appears that the external dependency classes and META-INF directories are reported by Gradle with a trailing
/.
whereas the plugin dependencies directories in librariesToIgnore do not have the trailing slash. So the exclusion fails and the artifacts are left in the plugin bundle.The text was updated successfully, but these errors were encountered: