a58d6fd13a
- Also publish 'kotlinx-serialization-compiler-plugin-embeddable' to be used with 'kotlin-compiler-embeddable'. - Now Serialization Maven and Gradle plugins do not embed plugin into itself, but declare on published one normal dependency. - 'kotlin-serialization-unshaded' publication is deprecated. ^KT-52811 In Progress
29 lines
761 B
Kotlin
29 lines
761 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")))
|
|
|
|
commonCompileOnly(project(":kotlin-gradle-plugin"))
|
|
commonCompileOnly(project(":kotlin-compiler-embeddable"))
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
create("kotlinSerialization") {
|
|
id = "org.jetbrains.kotlin.plugin.serialization"
|
|
displayName = "Kotlin compiler plugin for kotlinx.serialization library"
|
|
description = displayName
|
|
implementationClass = "org.jetbrains.kotlinx.serialization.gradle.SerializationGradleSubplugin"
|
|
}
|
|
}
|
|
}
|