interface CompressionTaskCreator
Represents the creator of CompressImages
Author
johnsonlee
createCompressionTask |
Returns a task for compression open fun createCompressionTask(variant: BaseVariant, results: CompressionResults, name: String, supplier: () -> Collection<File>, vararg deps: TaskProvider<out Task>): TaskProvider<out CompressImages<out CompressionOptions>> abstract fun createCompressionTask(variant: BaseVariant, results: CompressionResults, name: String, supplier: () -> Collection<File>, ignores: Set<Wildcard> = emptySet(), vararg deps: TaskProvider<out Task>): TaskProvider<out CompressImages<out CompressionOptions>> |
getCompressionTaskClass |
Returns the class of compression task abstract fun getCompressionTaskClass(aapt2: Boolean): KClass<out CompressImages<out CompressionOptions>> |
SimpleCompressionTaskCreator |
Represents a simple implementation of CompressionTaskCreator class SimpleCompressionTaskCreator : CompressionTaskCreator |