add plugins
This commit is contained in:
parent
e0f936c173
commit
ec48d5f6b8
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user