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.

getIncludes

@Internal(value = "The paths for include directories are tracked via the includePaths property, the contents are tracked via discovered inputs")
abstract fun getIncludes(): ConfigurableFileCollection(source)

Returns the header directories to be used for compilation.

Since

2.2