Lommelun
10/09/2018, 12:30 AMtapchicoma
10/09/2018, 6:29 AMmodule-bootstrap.gradle
file with shared content, then in root build.gradle
add following:
allprojects {
apply from: ""${project.rootDir}/module-bootstrap.gradle"
}
Nikky
10/09/2018, 10:34 AMapply {
plugin("kotlin")
}
sharing dependencies, i assume you do not want to have all modules depend on the root module (that would transitively share the dependecies)
other options are making a function in buildSrc or a seperate .gradle(.kts) file that would be applied on those submodules