allowedOutputs property

Iterable<AssetId> allowedOutputs

Returns assets that may be written in this build step.

Allowed outputs are formed by matching the inputId against the builder's buildExtensions, which declares a list of output extensions for this input.

The writing methods writeAsBytes and writeAsString will throw an InvalidOutputException when attempting to write an asset not part of the allowedOutputs.


Iterable<AssetId> get allowedOutputs;