transform

open fun <T : ResourceTransformer> transform(clazz: Class<T>, action: Action<T> = Action {})
open fun <T : ResourceTransformer> transform(transformer: T, action: Action<T> = Action {})
inline fun <T : ResourceTransformer> transform(action: Action<T> = Action {})

Transform resources using a ResourceTransformer.

Warning: Most of the ResourceTransformers should be used with the correct getDuplicatesStrategy to ensure duplicate resource files are handled properly. See more details in the Handling Duplicates Strategy section.

See also