fun <T : BufExecTask> registerWorkspaceTask(kClass: KClass<T>, name: String, configure: Action<T> = Action {}): ProtoTasks<T>(source)
inline fun <T : BufExecTask> registerWorkspaceTask(name: String, configure: Action<T> = Action {}): ProtoTasks<T>(source)
Registers a custom Buf task that operates on the generated workspace.
Name conventions: lint input for name will result in tasks named 'bufLintMain' and 'bufLintTest' for Kotlin/JVM projects and 'bufLintCommonMain', 'bufLintCommonTest', 'bufLintNativeMain', etc. for Kotlin/Multiplatform projects.