That's currently not a supported thing. I have discussed a similar topic with some Gradle folks recently, where I need a platform to depend on all projects of a particular kind automatically. It's one kind of "aggregation" pattern which is not well supported.