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.4.20-M1"
}

See also:

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