How to exclude source sets from jacoco

In some projects, I have source files generated, e.g. from a wsdl or an antrl grammar. Usually, I organize them in a separate source set. AFAICT, source files can only be excluded from the jacoco checks using an ANT fileset filter, but I’d like to exclude a whole sourceset. Any hints?