Suppress deprecations for MavenPluginConfiguratorG6

This allowed to enable warning-as-errors for :k-g-p:main compilation

^KT-47047 In Progress
This commit is contained in:
Yahor Berdnikau
2022-05-30 11:31:22 +02:00
committed by Space
parent eabf6dac7f
commit 1be8480aed
2 changed files with 1 additions and 2 deletions
@@ -152,7 +152,6 @@ fun Project.configureKotlinCompilationOptions() {
// TODO: fix remaining warnings and remove this property.
val tasksWithWarnings = listOf(
":kotlin-gradle-plugin:compileKotlin",
":kotlin-gradle-plugin:compileCommonKotlin",
":kotlin-gradle-plugin:compileGradle70Kotlin"
)
@@ -2,6 +2,7 @@
* Copyright 2010-2022 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.
*/
@file:Suppress("DEPRECATION")
package org.jetbrains.kotlin.gradle.plugin.internal
@@ -15,7 +16,6 @@ import org.gradle.api.tasks.Upload
import org.jetbrains.kotlin.gradle.plugin.mpp.AbstractKotlinTarget
import org.jetbrains.kotlin.gradle.plugin.mpp.PomDependenciesRewriter
@Suppress("DEPRECATION")
class MavenPluginConfiguratorG6 : MavenPluginConfigurator {
override fun applyConfiguration(
project: Project,