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.
|
// TODO: fix remaining warnings and remove this property.
|
||||||
val tasksWithWarnings = listOf(
|
val tasksWithWarnings = listOf(
|
||||||
":kotlin-gradle-plugin:compileKotlin",
|
|
||||||
":kotlin-gradle-plugin:compileCommonKotlin",
|
":kotlin-gradle-plugin:compileCommonKotlin",
|
||||||
":kotlin-gradle-plugin:compileGradle70Kotlin"
|
":kotlin-gradle-plugin:compileGradle70Kotlin"
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -2,6 +2,7 @@
|
|||||||
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
* 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.
|
* 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
|
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.AbstractKotlinTarget
|
||||||
import org.jetbrains.kotlin.gradle.plugin.mpp.PomDependenciesRewriter
|
import org.jetbrains.kotlin.gradle.plugin.mpp.PomDependenciesRewriter
|
||||||
|
|
||||||
@Suppress("DEPRECATION")
|
|
||||||
class MavenPluginConfiguratorG6 : MavenPluginConfigurator {
|
class MavenPluginConfiguratorG6 : MavenPluginConfigurator {
|
||||||
override fun applyConfiguration(
|
override fun applyConfiguration(
|
||||||
project: Project,
|
project: Project,
|
||||||
|
|||||||
Reference in New Issue
Block a user