The friend module identification has regressed recently
This commit is contained in:
committed by
alexander-gorshenev
parent
18d9e9b2b5
commit
b7a0546634
@@ -153,10 +153,11 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
|||||||
// TODO: pass logger attached to message collector here.
|
// TODO: pass logger attached to message collector here.
|
||||||
).libraryResolver()
|
).libraryResolver()
|
||||||
val resolvedLibraries = libraryResolver.resolveWithDependencies(unresolvedLibraries, true, true, true)
|
val resolvedLibraries = libraryResolver.resolveWithDependencies(unresolvedLibraries, true, true, true)
|
||||||
val friendDependencies = resolvedLibraries.getFullList()
|
|
||||||
.filter {
|
val friendAbsolutePaths = friendLibraries.map { File(it).absolutePath }
|
||||||
it.moduleName in friendLibraries
|
val friendDependencies = resolvedLibraries.getFullList().filter {
|
||||||
}
|
it.libraryFile.absolutePath in friendAbsolutePaths
|
||||||
|
}
|
||||||
|
|
||||||
val produceKind = produceMap[arguments.irProduceOnly]
|
val produceKind = produceMap[arguments.irProduceOnly]
|
||||||
if (produceKind == null) {
|
if (produceKind == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user