diff --git a/src/main/java/Plugin.kt b/src/main/java/Plugin.kt index 236604c..e575b9b 100644 --- a/src/main/java/Plugin.kt +++ b/src/main/java/Plugin.kt @@ -1,3 +1,4 @@ +import org.gradle.kotlin.dsl.version import org.gradle.plugin.use.PluginDependenciesSpec import org.gradle.plugin.use.PluginDependencySpec @@ -15,6 +16,8 @@ val PluginDependenciesSpec.kotlinAnnotationProcessor: PluginDependencySpec get() = id(Plugin.Id.Kotlin.annotationProcessor) val PluginDependenciesSpec.kotlinSerialization: PluginDependencySpec get() = id(Plugin.Id.Kotlin.serialization) +val PluginDependenciesSpec.jetbrainsKotlinSerialization: PluginDependencySpec + get() = id(Plugin.Id.JetBrains.serialization) object Plugin { object Id { @@ -49,12 +52,16 @@ object Plugin { /** * Plugin published in https://plugins.gradle.org/ */ - const val annotationProcessor = "kapt" + const val annotationProcessor = "org.jetbrains.kotlin.kapt" /** * Plugin published in https://plugins.gradle.org/ */ const val serialization = "plugin.serialization" } + + object JetBrains { + const val serialization = "org.jetbrains.kotlin.plugin.serialization" + } } -} +} \ No newline at end of file