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.

TransformOutputs

The outputs of the artifact transform.

The registered output Files will appear in the transformed variant in the order they were registered.

Since

5.3

Functions

Link copied to clipboard
abstract fun dir(path: Any): File
Registers an output directory.
Link copied to clipboard
abstract fun file(path: Any): File
Registers an output file.