Incremental KAPT - pass changed classpath entries

Pass computed list of changed classpath names to KAPT instead
of relying on the history files to be computed by stub generation.
Also, stop generating classpath history changes during the stub generation.

This commit does not compute the actual changed classpath entries,
and that will be done in the following commits.

 #KT-23880
This commit is contained in:
Ivan Gavrilovic
2019-03-26 17:31:17 +00:00
committed by Alexey Tsvetkov
parent 0c09f56118
commit c85e21d43b
26 changed files with 136 additions and 255 deletions
@@ -67,7 +67,6 @@ class IncrementalCompilationOptions(
val outputFiles: List<File>,
val multiModuleICSettings: MultiModuleICSettings,
val modulesInfo: IncrementalModuleInfo,
val classpathFqNamesHistory: File? = null,
kotlinScriptExtensions: Array<String>? = null
) : CompilationOptions(
compilerMode,
@@ -91,7 +90,6 @@ class IncrementalCompilationOptions(
"multiModuleICSettings=$multiModuleICSettings, " +
"usePreciseJavaTracking=$usePreciseJavaTracking" +
"outputFiles=$outputFiles" +
"classpathFqNamesHistory=$classpathFqNamesHistory" +
")"
}
}