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.

AdditionalData

@NullMarked
interface AdditionalData(source)

Additional data attached to the problem.

There are no subtypes defined for this interface yet. Clients should expect some defined in future versions of Gradle.

The information returned by #getAsMap is considered dynamic information and subject to change between Gradle versions.

For an example to provide org.gradle.tooling.events.problems.CustomAdditionalData, see here.

Since

8.6

See also

Inheritors

Functions

Link copied to clipboard
abstract fun getAsMap(): Map<String, Any>
Returns additional data as a map.