WireOutput

abstract class WireOutput

Specifies Wire's outputs (expressed as a list of Target objects) using Gradle's DSL (expressed as destination directories and configuration options). This includes registering output directories with the project so they can be compiled after they are generated.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var out: String?

Set this to override the default output directory for this WireOutput.

Functions

Link copied to clipboard
abstract fun toTarget(outputDirectory: String): Target

Transforms this WireOutput into a Target for which Wire will generate code. The Target should use outputDirectory instead of WireOutput.out in all cases for its output directory.