Search Gradle plugins

Version 0.1.3

Created 20 December 2024.

Conventions for 'com.google.protobuf' with 'grpc' plugin using versions from a platform project

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.hiero.gradle.feature.protobuf") version "0.1.3"
}

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