Robert Menke
04/14/2018, 2:39 PMis List<*> -> it.addTo(configuration)
? Which versions of these dependencies are you using? Why does the configuration function accept any? I realize you probably have good answers to those questions, but I don’t think there’s any reason to complicate dependency specs.Czar
04/14/2018, 2:48 PMobject Versions {
const val gradle = "4.7-rc-2"
const val kotlin = "1.2.31"
const val springBoot = "2.0.1.RELEASE"
const val springDepManagement = "1.0.5.RELEASE"
const val kotlinLogging = "1.4.6"
const val swaggerVersion = "2.7.0"
}
object Deps {
val swagger = listOf(
"io.springfox:springfox-swagger2:${Versions.swaggerVersion}",
"io.springfox:springfox-swagger-ui:${Versions.swaggerVersion}"
)
// ...
}
Robert Menke
04/14/2018, 3:30 PMDepManagement.kt
file I understood what was going on much more clearly 🙂.Czar
04/14/2018, 3:51 PMp
layer there's only one build file (or subproject section in c
layer build file) which details dependencies for that particular project by using values from DepManagement.kt
That way each project gets what it needs and all versions are synchronized between all projects.