Fail build on groovydoc error


(Jeff Storey) #1

Is it possible to fail the build on a groovydoc error? The Javadoc task has a failOnError flag, but I don’t see anything like that for groovydoc. This would be useful to make sure our API docs are correct (at least have the correct parameters and types). If there was some way to make the groovydoc output verbose and that could be grepped, that would be at least a workaround, but I didn’t see a way to do that.