wire-compiler / com.squareup.wire.schema / ProtoTarget

ProtoTarget

data class ProtoTarget : Target

Constructors

<init>

ProtoTarget(outDirectory: String)

Properties

excludes

val excludes: List<String>

Proto types to excluded generated sources for. Types listed here will not be generated for this target.

exclusive

val exclusive: Boolean

True if types emitted for this target should not also be emitted for other targets. Use this to cause multiple outputs to be emitted for the same input type.

includes

val includes: List<String>

Proto types to include generated sources for. Types listed here will be generated for this target and not for subsequent targets in the task.

outDirectory

val outDirectory: String