Aborting compilation on errors (don't try to compile Java after it).
Original commit: 3011bdb7d7
This commit is contained in:
@@ -243,6 +243,10 @@ public class KotlinBuilder : ModuleLevelBuilder(BuilderCategory.SOURCE_PROCESSOR
|
||||
outputConsumer.registerOutputFile(target, outputFile, sourceFiles.map { it.getPath() })
|
||||
}
|
||||
|
||||
if (compilationErrors) {
|
||||
return ABORT
|
||||
}
|
||||
|
||||
if (IncrementalCompilation.ENABLED) {
|
||||
if (recompilationDecision == IncrementalCacheImpl.RecompilationDecision.RECOMPILE_ALL) {
|
||||
allCompiledFiles.clear()
|
||||
|
||||
Reference in New Issue
Block a user