Gradle multiple projects structure - best practice

I am new to gradle and I have multi java project. Currently I am doing manual rolling up of the dependencies of the projects. I would love to get to a point where I can get CI, for more details please check Can any one suggest best practice for this kind of scenario. Thank you in advance