fun createCompressionTask(variant: BaseVariant, results: CompressionResults, name: String, supplier: () -> Collection<File>, ignores: Set<Wildcard>, vararg deps: TaskProvider<out Task>): TaskProvider<out CompressImages<out CompressionOptions>>
Returns a task for compression
results
- The compression results for report generating
ignores
- wildcard of the resource name which to be excluded