Owner:
Eric Anderson
The Protobuf plugin provides protobuf compilation to your project.
Version 0.8.5
Created 07 March 2018.
The Protobuf plugin provides protobuf compilation to your project.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.google.protobuf") version "0.8.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("com.google.protobuf:com.google.protobuf.gradle.plugin:0.8.5") }It can then be applied in the precompiled script plugin:plugins { id("com.google.protobuf") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.google.protobuf:com.google.protobuf.gradle.plugin:0.8.5") } } apply(plugin = "com.google.protobuf") - Applying plugins to all subprojects .