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:
@@ -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"
|
||||
)
|
||||
|
||||
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user