And with this I also found a more functional way t...
# dsl
m
And with this I also found a more functional way to do it - although I assume there has to be an easier way:
Copy code
from(configurations.compile.map { configuration ->
            configuration.asFileTree
                .fold(files().asFileTree) { collection, file ->
                    if (file.isDirectory) collection else collection.plus(zipTree(file))
                }
        })