Migrate 'kotlin-sam-with-receiver' module to variants

^KT-49227 In Progress
This commit is contained in:
Yahor Berdnikau
2022-03-24 11:55:02 +01:00
parent 21a12b9a58
commit e875a0a311
7 changed files with 6 additions and 6 deletions
@@ -10,21 +10,21 @@ pill {
} }
dependencies { dependencies {
api(project(":kotlin-gradle-plugin-model")) commonApi(project(":kotlin-gradle-plugin-model"))
compileOnly(project(":compiler")) commonCompileOnly(project(":compiler"))
compileOnly(project(":kotlin-sam-with-receiver-compiler-plugin")) commonCompileOnly(project(":kotlin-sam-with-receiver-compiler-plugin"))
testApi(commonDependency("junit"))
embedded(project(":kotlin-sam-with-receiver-compiler-plugin")) { isTransitive = false } embedded(project(":kotlin-sam-with-receiver-compiler-plugin")) { isTransitive = false }
testImplementation(commonDependency("junit"))
} }
gradlePlugin { gradlePlugin {
plugins { plugins {
create("samWithReceiver") { create("samWithReceiver") {
id = "org.jetbrains.kotlin.plugin.sam.with.receiver" id = "org.jetbrains.kotlin.plugin.sam.with.receiver"
displayName = "" displayName = "Kotlin Sam-with-receiver compiler plugin"
description = displayName description = displayName
implementationClass = "org.jetbrains.kotlin.samWithReceiver.gradle.SamWithReceiverGradleSubplugin" implementationClass = "org.jetbrains.kotlin.samWithReceiver.gradle.SamWithReceiverGradleSubplugin"
} }