ProtoTask

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

How to configure

interface ProtoTask : Task(source)

Abstract base interface for tasks that work with .proto files.

Inheritors

Types

Link copied to clipboard
class AndroidProperties(isTest: Boolean, sourceSetNames: Set<String>, val flavors: List<String>, val buildType: String?, val variant: String?, val isInstrumentedTest: Boolean, val isUnitTest: Boolean) : ProtoTask.Properties

Properties of the buf task for android source sets.

Link copied to clipboard
open class Properties(val isTest: Boolean, val sourceSetNames: Set<String>)

Properties of the buf task.

Properties

Link copied to clipboard
@get:Internal
abstract var actions: List<Action<in Task?>?>?
Link copied to clipboard
@get:Internal
abstract val ant: AntBuilder?
Link copied to clipboard
@get:Internal
abstract val dependsOn: Set<Any?>?
Link copied to clipboard
@get:Internal
abstract var description: @Nullable String?
Link copied to clipboard
@get:Internal
abstract val destroyables: TaskDestroyables?
Link copied to clipboard
@get:Internal
abstract var didWork: Boolean
Link copied to clipboard
@get:Internal
abstract var enabled: Boolean
Link copied to clipboard
@get:Internal
abstract val extensions: ExtensionContainer?
Link copied to clipboard
@get:Internal
abstract val finalizedBy: TaskDependency?
Link copied to clipboard
@get:Internal
abstract var group: @Nullable String?
Link copied to clipboard
@get:Internal
abstract val inputs: TaskInputs?
Link copied to clipboard
@get:Internal
abstract val localState: TaskLocalState?
Link copied to clipboard
@get:Internal
abstract val logger: Logger?
Link copied to clipboard
@get:Internal
abstract val logging: LoggingManager?
Link copied to clipboard
@get:Internal
abstract val mustRunAfter: TaskDependency?
Link copied to clipboard
@get:Internal
abstract val name: String?
Link copied to clipboard
@get:Internal
abstract val outputs: TaskOutputs?
Link copied to clipboard
@get:Internal
abstract val path: String?
Link copied to clipboard
@get:Internal
abstract val project: Project?
Link copied to clipboard
@get:Internal
abstract val properties: ProtoTask.Properties
Link copied to clipboard
@get:Internal
abstract val shouldRunAfter: TaskDependency?
Link copied to clipboard
@get:Internal
abstract val state: TaskState?
Link copied to clipboard
@get:Internal
abstract val taskDependencies: TaskDependency?
Link copied to clipboard
@get:Internal
abstract val temporaryDir: File?
Link copied to clipboard
@get:Internal
abstract val timeout: Property<Duration?>?

Functions

Link copied to clipboard
abstract operator fun compareTo(other: Task?): Int
Link copied to clipboard
abstract fun configure(configureClosure: Closure<*>?): Task?
Link copied to clipboard
abstract fun dependsOn(vararg paths: Any?): Task?
Link copied to clipboard
abstract fun doFirst(@DelegatesTo(value = Task::class) action: Closure<*>?): Task?
abstract fun doFirst(action: Action<in Task?>?): Task?
abstract fun doFirst(actionName: String?, action: Action<in Task?>?): Task?
Link copied to clipboard
abstract fun doLast(@DelegatesTo(value = Task::class) action: Closure<*>?): Task?
abstract fun doLast(action: Action<in Task?>?): Task?
abstract fun doLast(actionName: String?, action: Action<in Task?>?): Task?
Link copied to clipboard
abstract fun doNotTrackState(reasonNotToTrackState: String?)
Link copied to clipboard
abstract fun finalizedBy(vararg paths: Any?): Task?
Link copied to clipboard
abstract fun hasProperty(propertyName: String?): Boolean
Link copied to clipboard
abstract fun mustRunAfter(vararg paths: Any?): Task?
Link copied to clipboard
Link copied to clipboard
abstract fun onlyIf(onlyIfClosure: Closure<*>?)
abstract fun onlyIf(onlyIfSpec: Spec<in Task?>?)
@Incubating
abstract fun onlyIf(onlyIfReason: String?, onlyIfSpec: Spec<in Task?>?)
Link copied to clipboard
abstract fun property(propertyName: String?): @Nullable Any?
Link copied to clipboard
abstract fun setDependsOn(dependsOnTasks: Iterable<*>?)
Link copied to clipboard
abstract fun setFinalizedBy(finalizedBy: Iterable<*>?)
Link copied to clipboard
abstract fun setMustRunAfter(mustRunAfter: Iterable<*>?)
Link copied to clipboard
abstract fun setOnlyIf(onlyIfClosure: Closure<*>?)
abstract fun setOnlyIf(onlyIfSpec: Spec<in Task?>?)
@Incubating
abstract fun setOnlyIf(onlyIfReason: String?, onlyIfSpec: Spec<in Task?>?)
Link copied to clipboard
abstract fun setProperty(name: String?, value: Any?)
Link copied to clipboard
abstract fun setShouldRunAfter(shouldRunAfter: Iterable<*>?)
Link copied to clipboard
abstract fun shouldRunAfter(vararg paths: Any?): TaskDependency?
Link copied to clipboard
abstract fun usesService(service: Provider<out BuildService<*>?>?)