From ec48d5f6b8c45e8058303282e9ec1c1d0ed02989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A8?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=BB=D0=B8=D0=BD=D0=B3?= Date: Tue, 29 Oct 2024 13:00:54 +0000 Subject: [PATCH] add plugins --- src/main/java/Plugin.kt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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