Native External Module Dependencies

I see Gradle supports native dependencies within a project and across projects in a multi-project build. Does Gradle support native external module dependencies? If so, how would I modify the cpp example to publish the libraries and shared headers and conversely modify an external project to resolve those? Is this something supported out-of-the-box or do I have to roll my own?