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.

setDependencyVerificationMode

Sets the dependency verification mode. There are three different modes:

  • strict, the default, verification is enabled as soon as a dependency verification file is present.
  • lenient, in this mode, failure to verify a checksum, missing checksums or signatures will be logged but will not fail the build. This mode should only be used when updating dependencies as it is inherently unsafe.
  • off, this mode disables all verifications

Since

6.2

Parameters

verificationMode

the verification mode to use