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.

disallowChanges

abstract fun disallowChanges()(source)

Disallows further direct changes to this object.

This differs from finalizeValue in that it does not calculate the final value of this object, and so any source for the value will continue to be used until the value is finalized.

If the value of this object is already final, this method does nothing.

Since

5.6