Search Gradle plugins

org.jetbrains.kotlin.plugin.serialization

Kotlin compiler plugin for kotlinx.serialization library

https://kotlinlang.org/

Sources: https://github.com/JetBrains/kotlin/

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.plugin.serialization") version "1.6.0"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.jetbrains.kotlin:kotlin-serialization:1.6.0")
      }
    }
    
    apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
  • Applying plugins to all subprojects .