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