ProtoTasks
Available in a dev version: 0․11․0-grpc-186
How to configure
Represents a collection of ProtoTask tasks of a given type.
Allows for better filtering using additional method on top of Gradle's TaskCollection.
Example:
protoTasks.matchingSourceSet("main")
protoTasks.testTasks()
protoTasks
.testTasks()
.matching { ... }
.all { ... }Properties
Functions
Filters tasks by where ProtoTask.AndroidProperties.isInstrumentedTest is true.
Filters tasks by where ProtoTask.properties are of type ProtoTask.AndroidProperties.
Filters tasks by where ProtoTask.AndroidProperties.isUnitTest is true.
Filters tasks by where ProtoTask.AndroidProperties.buildType matches the given buildType.
Filters tasks by where ProtoTask.AndroidProperties.flavors matches the given flavor.
Filters tasks by where ProtoTask.AndroidProperties.variant matches the given variant.
Filters tasks by a Kotlin source set.
Filters tasks by source set name.
Filters tasks by a source set.
Filters tasks by type.
Filters tasks by type.
Filters tasks by where ProtoTask.Properties.isTest is false.
Filters tasks by where ProtoTask.Properties.isTest is true.