ProtocExtension

Available in a dev version: 0․11․0-grpc-186

How to configure

sealed interface ProtocExtension(source)

Configuration for the Protoc capabilities.

To enable the Protoc capabilities, add the following minimal code to your build.gradle.kts:

rpc {
protoc()
}

Properties

Link copied to clipboard
abstract val buf: BufExtension

Configuration for the Buf build tool.

Link copied to clipboard
abstract val plugins: NamedDomainObjectContainer<ProtocPlugin>

Container of protoc plugins.

Functions

Link copied to clipboard
abstract fun buf(action: Action<BufExtension>)

Configures the Buf build tool.

Link copied to clipboard
abstract fun plugins(action: Action<NamedDomainObjectContainer<ProtocPlugin>>)

Configures the protoc plugins.