diff --git a/compiler/serialization/build.gradle.kts b/compiler/serialization/build.gradle.kts index 54042ad32ff..280b9d00fdb 100644 --- a/compiler/serialization/build.gradle.kts +++ b/compiler/serialization/build.gradle.kts @@ -5,8 +5,8 @@ plugins { dependencies { compile(project(":compiler:resolution")) - compile(project(":compiler:frontend")) compile(project(":core:deserialization")) + api(project(":compiler:util")) compileOnly(intellijCoreDep()) { includeJars("intellij-core", rootProject = rootProject) } } diff --git a/compiler/frontend/src/org/jetbrains/kotlin/extensions/ApplicationExtensionDescriptor.kt b/compiler/util/src/org/jetbrains/kotlin/extensions/ApplicationExtensionDescriptor.kt similarity index 95% rename from compiler/frontend/src/org/jetbrains/kotlin/extensions/ApplicationExtensionDescriptor.kt rename to compiler/util/src/org/jetbrains/kotlin/extensions/ApplicationExtensionDescriptor.kt index 29a64ee1c2b..8943e52ea62 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/extensions/ApplicationExtensionDescriptor.kt +++ b/compiler/util/src/org/jetbrains/kotlin/extensions/ApplicationExtensionDescriptor.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ diff --git a/compiler/frontend/src/org/jetbrains/kotlin/extensions/ProjectExtensionDescriptor.kt b/compiler/util/src/org/jetbrains/kotlin/extensions/ProjectExtensionDescriptor.kt similarity index 64% rename from compiler/frontend/src/org/jetbrains/kotlin/extensions/ProjectExtensionDescriptor.kt rename to compiler/util/src/org/jetbrains/kotlin/extensions/ProjectExtensionDescriptor.kt index 4ea15130af5..53f77b1ccde 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/extensions/ProjectExtensionDescriptor.kt +++ b/compiler/util/src/org/jetbrains/kotlin/extensions/ProjectExtensionDescriptor.kt @@ -1,17 +1,6 @@ /* - * Copyright 2010-2015 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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.extensions