[Gradle, JS] Not filter jar files in friendDependencies

^KT-56690 fixed
This commit is contained in:
Ilya Goncharov
2023-04-18 14:25:54 +00:00
committed by Space Team
parent ff7072830f
commit e4b6f3c12a
@@ -218,10 +218,7 @@ abstract class Kotlin2JsCompile @Inject constructor(
.fileCollection()
.from(friendPaths)
.filter {
// .jar files are not required for js compilation as friend modules
// and, because of `@InputFiles` and different normalization strategy from `@Classpath`,
// they produce build cache misses
it.exists() && !it.name.endsWith(".jar") && libraryFilter(it)
it.exists() && libraryFilter(it)
}
@get:Internal