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.

getDisplayGranularity

Returns the display granularity of the events to be logged. For example, if set to 0, a method-level event will be displayed as "Test Run >Test Worker x >org.SomeClass >org.someMethod". If set to 2, the same event will be displayed as "org.someClass >org.someMethod".

-1 denotes the highest granularity and corresponds to an atomic test.

Return

the display granularity of the events to be logged

Since

1.1