From 6e96d192bfa27bda8e4b12ad8c42cbe72b2f6658 Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Tue, 8 Nov 2016 13:42:08 +0100 Subject: [PATCH] Move incremental components to compller util to reduce dependencies of compiler interface modules --- compiler/daemon/daemon-client/daemon-client.iml | 3 ++- compiler/daemon/daemon-common/daemon-common.iml | 2 +- compiler/daemon/daemon.iml | 3 ++- .../load/kotlin/incremental/components/IncrementalCache.kt | 2 +- .../incremental/components/IncrementalCompilationComponents.kt | 1 - compiler/util/util.iml | 1 + 6 files changed, 7 insertions(+), 5 deletions(-) rename compiler/{frontend.java => util}/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCache.kt (96%) rename compiler/{frontend.java => util}/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCompilationComponents.kt (91%) diff --git a/compiler/daemon/daemon-client/daemon-client.iml b/compiler/daemon/daemon-client/daemon-client.iml index 6b9384c6eb3..c0335b99f66 100644 --- a/compiler/daemon/daemon-client/daemon-client.iml +++ b/compiler/daemon/daemon-client/daemon-client.iml @@ -8,9 +8,10 @@ - + + \ No newline at end of file diff --git a/compiler/daemon/daemon-common/daemon-common.iml b/compiler/daemon/daemon-common/daemon-common.iml index ca412f7c08b..9f464abc4b7 100644 --- a/compiler/daemon/daemon-common/daemon-common.iml +++ b/compiler/daemon/daemon-common/daemon-common.iml @@ -8,7 +8,7 @@ - + \ No newline at end of file diff --git a/compiler/daemon/daemon.iml b/compiler/daemon/daemon.iml index 8afb212e3bd..f66fb35d0c9 100644 --- a/compiler/daemon/daemon.iml +++ b/compiler/daemon/daemon.iml @@ -9,7 +9,8 @@ - + + \ No newline at end of file diff --git a/compiler/frontend.java/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCache.kt b/compiler/util/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCache.kt similarity index 96% rename from compiler/frontend.java/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCache.kt rename to compiler/util/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCache.kt index 0f78ecd88c2..358e79af2e6 100644 --- a/compiler/frontend.java/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCache.kt +++ b/compiler/util/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCache.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. + * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/frontend.java/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCompilationComponents.kt b/compiler/util/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCompilationComponents.kt similarity index 91% rename from compiler/frontend.java/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCompilationComponents.kt rename to compiler/util/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCompilationComponents.kt index ac5292941cc..3fafb3802fa 100644 --- a/compiler/frontend.java/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCompilationComponents.kt +++ b/compiler/util/src/org/jetbrains/kotlin/load/kotlin/incremental/components/IncrementalCompilationComponents.kt @@ -17,7 +17,6 @@ package org.jetbrains.kotlin.load.kotlin.incremental.components import org.jetbrains.kotlin.incremental.components.LookupTracker -import org.jetbrains.kotlin.incremental.components.SourceRetentionAnnotationHandler import org.jetbrains.kotlin.modules.TargetId interface IncrementalCompilationComponents { diff --git a/compiler/util/util.iml b/compiler/util/util.iml index 8c5ce90d31f..b45f2fc33fb 100644 --- a/compiler/util/util.iml +++ b/compiler/util/util.iml @@ -12,5 +12,6 @@ + \ No newline at end of file