Skip to content

Commit

Permalink
Tests classpath fixes: do not blindly include all plugin's `lib/**/*.…
Browse files Browse the repository at this point in the history
…jar`
  • Loading branch information
hsz committed Mar 6, 2025
1 parent 47b1033 commit d9659e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Performance improvement: memoize the `JavaRuntimePathResolver` resolution.
- Performance improvement: do not resolve JetBrains IDEs/Android Studio release URLs in the configuration phase.
- Performance improvement: cache the IntelliJ Platform instances parsed with the Plugin Verifier libraries
- Tests classpath fixes: do not blindly include all plugin's `lib/**/*.jar`

## [2.3.0] - 2025-02-27

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ abstract class TestIdeTask : Test(), TestableAware, IntelliJPlatformVersionAware
sourceTask.sandboxPluginsDirectory.zip(sourceTask.pluginDirectory) { sandboxPluginsDirectory, pluginDirectory ->
val pluginName = pluginDirectory.asPath.name
sandboxPluginsDirectory.asFileTree.matching {
include("*/${Sandbox.Plugin.LIB}/**/*.jar")
include("*/${Sandbox.Plugin.LIB}/*.jar")
include("*/${Sandbox.Plugin.LIB_MODULES}/*.jar")
// Exclude the libs from the current plugin because we need to put before all other libs.
exclude("$pluginName/**")
}
Expand Down

0 comments on commit d9659e2

Please sign in to comment.