ProtoOutput

open class ProtoOutput @Inject constructor : WireOutput

Constructors

Link copied to clipboard
@Inject
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
open override fun toTarget(outputDirectory: String): ProtoTarget

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.