de.markusfluer.protokotlin.plugin
Owner:
Markus Flür
Generate Kotlin DTOs from Protocol Buffer files compatible with kotlinx.serialization.protobuf. Supports proto3 syntax with proper nullable fields, @ProtoPacked annotations, and seamless build integration.
https://github.com/markusfluer/protokotlin
Sources: https://github.com/markusfluer/protokotlin.git
Version 2.1.5 (latest)
Created 31 August 2025.
Generate Kotlin DTOs from Protocol Buffer files compatible with kotlinx.serialization.protobuf. Supports proto3 syntax with proper nullable fields, @ProtoPacked annotations, and seamless build integration.
Add this plugin to your build using the plugins DSL:
plugins {
id("de.markusfluer.protokotlin.plugin") version "2.1.5"
}
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("de.markusfluer.protokotlin.plugin:de.markusfluer.protokotlin.plugin.gradle.plugin:2.1.5") }It can then be applied in the precompiled script plugin:plugins { id("de.markusfluer.protokotlin.plugin") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("de.markusfluer.protokotlin.plugin:de.markusfluer.protokotlin.plugin.gradle.plugin:2.1.5") } } apply(plugin = "de.markusfluer.protokotlin.plugin") - Applying plugins to all subprojects .