Search Gradle plugins

io.github.avro-kotlin

Owner: Chuckame

Avro4k's gradle plugin, enabling kotlin code generation from avro schemas to ensure type safety in your kafka/avro apps.

https://github.com/avro-kotlin/avro4k

Sources: https://github.com/avro-kotlin/avro4k.git

Version 2.6.0 (latest)

Created 25 September 2025.

Avro4k's gradle plugin, enabling kotlin code generation from avro schemas to ensure type safety in your kafka/avro apps.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.avro-kotlin") version "2.6.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.avro-kotlin:io.github.avro-kotlin.gradle.plugin:2.6.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.avro-kotlin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.avro-kotlin:io.github.avro-kotlin.gradle.plugin:2.6.0")
      }
    }
    
    apply(plugin = "io.github.avro-kotlin")
  • Applying plugins to all subprojects .