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.

severity

abstract fun severity(severity: Severity): ProblemSpec(source)

Deprecated

Severity is now determined automatically: use report for warnings and throwing for errors.

Declares the severity of the problem.

Return

this

Since

8.6

Parameters

severity

the severity