@@ -280,6 +280,7 @@ public class KotlinBuilder : ModuleLevelBuilder(BuilderCategory.SOURCE_PROCESSOR
|
|||||||
PathUtil.getKotlinPathsForJpsPluginOrJpsTests(),
|
PathUtil.getKotlinPathsForJpsPluginOrJpsTests(),
|
||||||
{ className ->
|
{ className ->
|
||||||
className.startsWith("org.jetbrains.kotlin.load.kotlin.incremental.components.")
|
className.startsWith("org.jetbrains.kotlin.load.kotlin.incremental.components.")
|
||||||
|
|| className.startsWith("org.jetbrains.kotlin.incremental.components.")
|
||||||
|| className == "org.jetbrains.kotlin.config.Services"
|
|| className == "org.jetbrains.kotlin.config.Services"
|
||||||
|| className.startsWith("org.apache.log4j.") // For logging from compiler
|
|| className.startsWith("org.apache.log4j.") // For logging from compiler
|
||||||
|| className == "org.jetbrains.kotlin.progress.CompilationCanceledStatus"
|
|| className == "org.jetbrains.kotlin.progress.CompilationCanceledStatus"
|
||||||
|
|||||||
+3
@@ -17,6 +17,7 @@
|
|||||||
package org.jetbrains.kotlin.jps.incremental
|
package org.jetbrains.kotlin.jps.incremental
|
||||||
|
|
||||||
import org.jetbrains.jps.incremental.ModuleBuildTarget
|
import org.jetbrains.jps.incremental.ModuleBuildTarget
|
||||||
|
import org.jetbrains.kotlin.incremental.components.UsageCollector
|
||||||
import org.jetbrains.kotlin.load.kotlin.incremental.components.IncrementalCache
|
import org.jetbrains.kotlin.load.kotlin.incremental.components.IncrementalCache
|
||||||
import org.jetbrains.kotlin.load.kotlin.incremental.components.IncrementalCompilationComponents
|
import org.jetbrains.kotlin.load.kotlin.incremental.components.IncrementalCompilationComponents
|
||||||
|
|
||||||
@@ -26,4 +27,6 @@ public class IncrementalCompilationComponentsImpl(caches: Map<ModuleBuildTarget,
|
|||||||
override fun getIncrementalCache(moduleId: String): IncrementalCache {
|
override fun getIncrementalCache(moduleId: String): IncrementalCache {
|
||||||
return idToCache[moduleId]!!
|
return idToCache[moduleId]!!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun getUsageCollector(): UsageCollector = UsageCollector.DO_NOTHING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user