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.

getDuplicatesStrategy

The strategy to use if there is already a file at this file's destination.

The value can be set with a case-insensitive string of the enum value (e.g. 'exclude' for EXCLUDE).

Return

the strategy to use for this file.

Since

1.7

See also