api / org.gradle.api.java.archives / Manifest / writeTo

writeTo

abstract fun writeTo(path: Any): Manifest

Writes the manifest into a file. The path's are resolved as defined by org.gradle.api.Project#files(Object...) The manifest will be encoded using the character set defined by the org.gradle.jvm.tasks.Jar#getManifestContentCharset() property.

Parameters

path - The path of the file to write the manifest into.

Return
this