androidTasks

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

How to configure

abstract fun androidTasks(predicate: (ProtoTaskT, ProtoTask.AndroidProperties) -> Boolean = { _, _ -> true }): ProtoTasks<ProtoTaskT>(source)

Filters tasks by where ProtoTask.properties are of type ProtoTask.AndroidProperties.

Takes optional predicate to filter on ProtoTask.AndroidProperties.

protoTasks.androidTasks()

protoTasks.androidTasks { _, properties ->
properties.buildType == "debug"
}