abstract fun writeTo(writer: Writer): MavenPom
Writes the #getEffectivePom()
XML to a writer while applying the #withXml(org.gradle.api.Action)
actions. Closes the supplied Writer when finished.
writer
- The writer to write the POM to.
Return
this
abstract fun writeTo(path: Any): MavenPom
Writes the #getEffectivePom()
XML to a file while applying the #withXml(org.gradle.api.Action)
actions. The path is resolved as defined by org.gradle.api.Project#files(Object...)
The file will be encoded as UTF-8.
path
- The path of the file to write the POM into.
Return
this