Android Extensions: Initial IC support (KT-14125)

This commit is contained in:
Yan Zhulanow
2017-09-28 21:35:37 +03:00
parent 1b5b9f1fbb
commit fed5bddde2
2 changed files with 19 additions and 2 deletions
@@ -176,6 +176,10 @@ class IncrementalJvmCompilerRunner(
is ChangesEither.Unknown -> return CompilationMode.Rebuild { "Could not get changes for java files" }
}
if ((changedFiles.modified + changedFiles.removed).any { it.extension.toLowerCase() == "xml" }) {
return CompilationMode.Rebuild { "XML resource files were changed" }
}
markDirtyBy(affectedJavaSymbols)
markDirtyBy(classpathChanges.lookupSymbols)
markDirtyBy(classpathChanges.fqNames)