com.google.protobuf
Owner: Eric Anderson
The Protobuf plugin provides protobuf compilation to your project.
https://github.com/google/protobuf-gradle-plugin
Sources: https://github.com/google/protobuf-gradle-plugin
Version 0.9.4 (latest)
Created 14 July 2023.
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.9.4"
}
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.9.4") }
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.9.4") } } apply(plugin = "com.google.protobuf")
- Applying plugins to all subprojects .