Change KotlinGradleSubplugin deprecation level to ERROR.

^KT-48830 Fixed
This commit is contained in:
Yahor Berdnikau
2021-09-27 16:45:36 +02:00
committed by Space
parent e15cfe8f70
commit 60cbfbf107
10 changed files with 13 additions and 12 deletions
@@ -20,7 +20,7 @@ import org.gradle.api.Project
import org.gradle.api.tasks.compile.AbstractCompile
import org.jetbrains.kotlin.gradle.plugin.*
class ExampleLegacySubplugin : @Suppress("DEPRECATION") KotlinGradleSubplugin<AbstractCompile> {
class ExampleLegacySubplugin : @Suppress("DEPRECATION_ERROR") KotlinGradleSubplugin<AbstractCompile> {
override fun isApplicable(project: Project, task: AbstractCompile): Boolean {
return true