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.

readFrom

abstract fun readFrom(reader: Reader): DeploymentDescriptor(source)

Reads the deployment descriptor from a reader.

Return

this

Since

1.0

Parameters

reader

The reader to read the deployment descriptor from


abstract fun readFrom(path: Any): Boolean(source)

Reads the deployment descriptor from a file. The paths are resolved as defined by file

Return

whether the descriptor could be read from the given path

Since

1.0

Parameters

path

The path of the file to read the deployment descriptor from