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

NullTarget

data class NullTarget : Target

Omit code generation for these sources. Use this for a dry-run.

Constructors

<init>

NullTarget(includes: List<String> = listOf("*"), excludes: List<String> = listOf())

Omit code generation for these sources. Use this for a dry-run.

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.