BufExtension

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

How to configure

open class BufExtension(source)

Options for the Buf tasks.

See also

Types

Link copied to clipboard

Possible values for --log-format logFormat option.

Properties

Link copied to clipboard
val configFile: Property<File>

--config argument value.

Link copied to clipboard

buf generate options.

Link copied to clipboard

--log-format option.

Link copied to clipboard

Use this extension to register custom Buf tasks that will operate on the generated workspace.

Link copied to clipboard
val timeout: Property<Duration>

--timeout option.

Functions

Link copied to clipboard
fun generate(configure: Action<BufGenerateExtension>)

Configures the buf generate options.

Link copied to clipboard
fun tasks(configure: Action<BufTasksExtension>)

Use this extension to register custom Buf tasks that will operate on the generated workspace.