[KLIB] Take into account *.klib rebuild similar to *.jar

Fix multi-module incremental compilation. Fix allows to trigger klib
rebuild when dependency changed.
This commit is contained in:
Roman Artemev
2020-12-02 17:15:09 +03:00
parent daf1da1c70
commit 939da9dbc8
@@ -41,6 +41,11 @@ abstract class ModulesApiHistoryBase(protected val modulesInfo: IncrementalModul
extension.equals("jar", ignoreCase = true) -> {
jarFiles.add(file)
}
extension.equals("klib", ignoreCase = true) -> {
// TODO: shouldn't jars and klibs be tracked separately?
// TODO: what to do with `in-directory` klib?
jarFiles.add(file)
}
}
}