In Maven there is a very useful feature when you can define a dependency in the section of the parent POM, and reference that depen
This blog post suggest managing dependencies and groups as configurations: https://www.javacodegeeks.com/2016/05/manage-dependencies-gradle-multi-project-build.html
I have not tried it myself, but it looks interesting.
Root project build.gradle
subprojects {
configurations {
commonsIo
}
dependencies {
commonsIo 'commons-io:commons-io:2.5'
}
}
Sub-project build.gradle
configurations {
compile.extendsFrom commonsIo
}