Update inputs cache on rebuild

This commit is contained in:
Alexey Tsvetkov
2017-07-11 17:51:01 +03:00
parent 20b14d4121
commit 356536d32b
@@ -69,6 +69,8 @@ abstract class IncrementalCompilerRunner<
destionationDir(args).deleteRecursively()
caches = createCacheManager(args)
// todo more optimal fix
caches.inputsCache.sourceSnapshotMap.compareAndUpdate(allKotlinSources)
return compileIncrementally(args, caches, allKotlinSources, CompilationMode.Rebuild(), messageCollector)
}