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.

setDynamicMode

abstract fun setDynamicMode(mode: Boolean)(source)

Specifies whether dynamic resolve mode should be used for Ivy modules. When enabled, the revConstraint attribute for each dependency declaration is used in preference to the rev attribute. When disabled (the default), the rev attribute is always used.

Since

1.5