[K/N] Fixed a problem with dependencies
-Xinclude-library should be treated exactly as source files - the final binary should depend on all of them. #KT-64408 Fixed
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ internal class DependenciesTrackerImpl(
|
||||
}
|
||||
}
|
||||
|
||||
if (filesUsed.isEmpty()) {
|
||||
if (filesUsed.isEmpty() || library in config.resolve.includedLibraries) {
|
||||
// This is the case when we depend on the whole module rather than on a number of files.
|
||||
moduleDependencies.add(library)
|
||||
addAllDependencies(cache)
|
||||
|
||||
Reference in New Issue
Block a user