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.

writeTo

abstract fun writeTo(writer: Writer): DeploymentDescriptor(source)

Writes the deployment descriptor into a writer.

Return

this

Since

1.0

Parameters

writer

The writer to write the deployment descriptor to


abstract fun writeTo(path: Any): DeploymentDescriptor(source)

Writes the deployment descriptor into a file. The paths are resolved as defined by file

Return

this

Since

1.0

Parameters

path

The path of the file to write the deployment descriptor into.