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 {
api(project(":kotlin-gradle-plugin-model"))
commonApi(project(":kotlin-gradle-plugin-model"))
compileOnly(project(":compiler"))
compileOnly(project(":kotlin-sam-with-receiver-compiler-plugin"))
testApi(commonDependency("junit"))
commonCompileOnly(project(":compiler"))
commonCompileOnly(project(":kotlin-sam-with-receiver-compiler-plugin"))
embedded(project(":kotlin-sam-with-receiver-compiler-plugin")) { isTransitive = false }
testImplementation(commonDependency("junit"))
}
gradlePlugin {
plugins {
create("samWithReceiver") {
id = "org.jetbrains.kotlin.plugin.sam.with.receiver"
displayName = ""
displayName = "Kotlin Sam-with-receiver compiler plugin"
description = displayName
implementationClass = "org.jetbrains.kotlin.samWithReceiver.gradle.SamWithReceiverGradleSubplugin"
}