Migrate 'kotlin-sam-with-receiver' module to variants
^KT-49227 In Progress
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user