api / org.gradle.api.tasks.bundling / Zip / setEntryCompression

setEntryCompression

open fun setEntryCompression(entryCompression: ZipEntryCompression): Unit

Sets the compression level of the entries of the archive. If set to ZipEntryCompression#DEFLATED (the default), each entry is compressed using the DEFLATE algorithm. If set to ZipEntryCompression#STORED the entries of the archive are left uncompressed.

Parameters

entryCompression - STORED or DEFLATED