In gradle.build you can reference the buildDir and use it as a source or destination. How can I reference the buildDir of a subproject from the root build.gradle file?
(And a similar supplementary question, how can I reference subprojects in a Copy task? I have tried ':subproject_name/some_directory' but it errors).