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:
Yan Zhulanow
2022-02-25 19:00:05 +09:00
parent a1db077af9
commit d741aaf82f
+1 -1
View File
@@ -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 {