api / org.gradle.plugins.ear.descriptor / DeploymentDescriptor / writeTo

writeTo

abstract fun writeTo(writer: Writer): DeploymentDescriptor

Writes the deployment descriptor into a writer.

Parameters

writer - The writer to write the deployment descriptor to

Return
this

abstract fun writeTo(path: Any): DeploymentDescriptor

Writes the deployment descriptor into a file. The paths are resolved as defined by org.gradle.api.Project#file(Object)

Parameters

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

Return
this