For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

sourceSets

open fun sourceSets(sourceSets: Array<SourceSet>)(source)

Adds a source set to the list to be reported on. The output of this source set will be used as classes to include in the report. The source for this source set will be used for any classes included in the report.

Since

3.4

Parameters

sourceSets

one or more source sets to report on