b9aac83135
This should help with failed variants selection between different Kotlin Gradle plugins versions. ^KT-54691 In Progress
34 lines
906 B
Kotlin
34 lines
906 B
Kotlin
import org.jetbrains.kotlin.pill.PillExtension
|
|
|
|
plugins {
|
|
id("gradle-plugin-common-configuration")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
pill {
|
|
variant = PillExtension.Variant.FULL
|
|
}
|
|
|
|
dependencies {
|
|
commonApi(platform(project(":kotlin-gradle-plugins-bom")))
|
|
commonApi(project(":kotlin-gradle-plugin-model"))
|
|
|
|
commonCompileOnly(project(":compiler"))
|
|
commonCompileOnly(project(":kotlin-assignment-compiler-plugin"))
|
|
|
|
embedded(project(":kotlin-assignment-compiler-plugin")) { isTransitive = false }
|
|
|
|
testImplementation(commonDependency("junit"))
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
create("assignment") {
|
|
id = "org.jetbrains.kotlin.plugin.assignment"
|
|
displayName = "Kotlin Assignment compiler plugin"
|
|
description = displayName
|
|
implementationClass = "org.jetbrains.kotlin.assignment.plugin.gradle.AssignmentSubplugin"
|
|
}
|
|
}
|
|
}
|