AndroidProperties

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

How to configure

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(source)

Properties of the buf task for android source sets.

Can be used with ProtoTasks to filter tasks.

Constructors

Link copied to clipboard
constructor(isTest: Boolean, sourceSetNames: Set<String>, flavors: List<String>, buildType: String?, variant: String?, isInstrumentedTest: Boolean, isUnitTest: Boolean)

Properties

Link copied to clipboard

Name of the android build type this task is associated with.

Link copied to clipboard

Name of the android flavors this task is associated with.

Link copied to clipboard

Whether the task is for instrumentation tests.

Link copied to clipboard

Whether the task is for a test source set.

Link copied to clipboard

Whether the task is for unit tests.

Link copied to clipboard

Names of all kotlinx.rpc.protoc.ProtoSourceSets this task is associated with.

Link copied to clipboard

Name of the android variant this task is associated with.