Fix pattern for filtering out services in compiler-tests-for-ide
The original pattern wasn't enough for matching all files in the 'META-INF/services' directory, especially the 'TestExecutionListener' service registration that breaks tearDown() in JUnit5 tests in IDE.
This commit is contained in:
@@ -225,7 +225,7 @@ fun Project.publishTestJarsForIde(projectNames: List<String>) {
|
||||
idePluginDependency {
|
||||
// Compiler test infrastructure should not affect test running in IDE.
|
||||
// If required, the components should be registered on the IDE plugin side.
|
||||
val excludedPaths = listOf("junit-platform.properties", "META-INF/services")
|
||||
val excludedPaths = listOf("junit-platform.properties", "META-INF/services/**/*")
|
||||
publishTestJar(projectNames, excludedPaths)
|
||||
}
|
||||
configurations.all {
|
||||
|
||||
Reference in New Issue
Block a user