BufTasksExtension

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

How to configure

Allows registering custom Buf tasks that can operate on the generated workspace.

Functions

Link copied to clipboard
inline fun <T : BufExecTask> registerWorkspaceTask(name: String, configure: Action<T> = Action {}): ProtoTasks<T>
fun <T : BufExecTask> registerWorkspaceTask(kClass: KClass<T>, name: String, configure: Action<T> = Action {}): ProtoTasks<T>

Registers a custom Buf task that operates on the generated workspace.