Search Gradle plugins

Generates version-agnostic Java wrapper classes from multiple protobuf schema versions. Features: automatic schema merging, type conflict resolution, Builder pattern support, VersionContext for runtime version selection.

https://github.com/alnovis/proto-wrapper-plugin

Sources: https://github.com/alnovis/proto-wrapper-plugin

Version 2.2.0 (latest)

Created 23 January 2026.

Generates version-agnostic Java wrapper classes from multiple protobuf schema versions. Features: automatic schema merging, type conflict resolution, Builder pattern support, VersionContext for runtime version selection.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.alnovis.proto-wrapper") version "2.2.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.alnovis.proto-wrapper:io.alnovis.proto-wrapper.gradle.plugin:2.2.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.alnovis.proto-wrapper")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.alnovis.proto-wrapper:io.alnovis.proto-wrapper.gradle.plugin:2.2.0")
      }
    }
    
    apply(plugin = "io.alnovis.proto-wrapper")
  • Applying plugins to all subprojects .