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
@@ -70,7 +70,8 @@ open class InternalSubpluginOption(key: String, value: String) : SubpluginOption
message = "This interface will be removed due to performance considerations. " +
"Please use the KotlinCompilerPluginSupportPlugin interface instead " +
"and remove the META-INF/services/org.jetbrains.kotlin.gradle.plugin.KotlinGradleSubplugin entry.",
replaceWith = ReplaceWith("KotlinCompilerPluginSupportPlugin")
replaceWith = ReplaceWith("KotlinCompilerPluginSupportPlugin"),
level = DeprecationLevel.ERROR
)
interface KotlinGradleSubplugin<in KotlinCompile : AbstractCompile> {
fun isApplicable(project: Project, task: AbstractCompile): Boolean