How to put jars from all subprojects into one directory?

Depending on what you want to do with all of the libs in the root build directory, this is sort of the same question (with answer): distTar only includes subproject jars on second execution, following a clean