Package-level declarations

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

How to configure

Types

Link copied to clipboard
@DisableCachingByDefault(because = "Custom buf subclasses must opt in to caching explicitly via @CacheableTask")
abstract class BufExecTask @Inject constructor(properties: ProtoTask.Properties) : DefaultProtoTask

Abstract base class for buf tasks.

Link copied to clipboard
@CacheableTask
abstract class BufGenerateTask : BufExecTask

Buf generate command.

Link copied to clipboard
@CacheableTask
abstract class GenerateBufGenYaml : DefaultProtoTask

Generates/updates Buf buf.gen.yaml file.

Link copied to clipboard
@CacheableTask
abstract class GenerateBufYaml : DefaultProtoTask

Generates/updates a Buf buf.yaml file.

Functions

Link copied to clipboard
inline fun <T : BufExecTask> Project.registerBufExecTask(name: String, workingDir: Provider<File>, properties: ProtoTask.Properties, noinline configuration: T.() -> Unit): TaskProvider<T>

Registers a BufExecTask of type T.