Search Gradle plugins

io.github.5hmlA.protobuf-convention

protobuf convention for any gradle project, necessary configuration and dependencies will be automatically set up

https://github.com/5hmlA/conventions

Sources: https://github.com/5hmlA/conventions

Version 2.1.22 (latest)

Created 31 October 2024.

protobuf convention for any gradle project, necessary configuration and dependencies will be automatically set up

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.5hmlA.protobuf-convention") version "2.1.22"
}

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