failOnWarning

@Input
val failOnWarning: Property<Boolean>

Whether to fail documentation generation if Dokka has emitted a warning or an error. Will wait until all errors and warnings have been emitted first.

This setting works well with GradleDokkaSourceSetBuilder.reportUndocumented

Default is false.