Fix warnings in gradle70 variant

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

^KT-47047 In Progress
This commit is contained in:
Yahor Berdnikau
2022-05-30 11:47:54 +02:00
committed by Space
parent 1be8480aed
commit ebce1a1d2d
2 changed files with 2 additions and 1 deletions
@@ -153,7 +153,6 @@ fun Project.configureKotlinCompilationOptions() {
// TODO: fix remaining warnings and remove this property.
val tasksWithWarnings = listOf(
":kotlin-gradle-plugin:compileCommonKotlin",
":kotlin-gradle-plugin:compileGradle70Kotlin"
)
val projectsWithEnabledContextReceivers: List<String> by rootProject.extra
@@ -44,10 +44,12 @@ open class KotlinMultiplatformPluginWrapper : AbstractKotlinMultiplatformPluginW
override val pluginVariant: String = PLUGIN_VARIANT_NAME
}
@Suppress("unused")
open class KotlinJsPluginWrapper : AbstractKotlinJsPluginWrapper() {
override val pluginVariant: String = PLUGIN_VARIANT_NAME
}
@Suppress("unused")
open class KotlinPm20PluginWrapper @Inject constructor(
objectFactory: ObjectFactory
) : AbstractKotlinPm20PluginWrapper(objectFactory) {