Slackbot
09/01/2023, 4:38 PMClayton Walker
09/01/2023, 4:40 PMimplementation("ch.qos.logback:logback-classic:[1.2.0, 1.3.0[!!")
implementation("ch.qos.logback:logback-core:[1.2.0, 1.3.0[!!")
I was trying something like this, but a subproject was still able to compile after requesting 1.4.11 for exampleVampire
09/01/2023, 4:54 PMresolutionStrategy...force which also overwrites strict versions or similar things.
Also using the legacy and discouraged Spring Dependency Management plugin would be one of the ways, as it uses exactly this resolution strategy forcing internally.Clayton Walker
09/01/2023, 5:16 PMClayton Walker
09/01/2023, 5:17 PMVampire
09/01/2023, 5:48 PMVampire
09/01/2023, 5:49 PMVampire
09/01/2023, 5:49 PMVampire
09/01/2023, 5:50 PMClayton Walker
09/01/2023, 5:50 PMVampire
09/01/2023, 5:51 PMClayton Walker
09/01/2023, 5:51 PMClayton Walker
09/01/2023, 5:55 PMClayton Walker
09/01/2023, 5:56 PMimplementation(project("spring-boot-bom"))
then?Clayton Walker
09/01/2023, 6:00 PMdependencies {
configurations.configureEach {
add(this.name, platform("org.springframework.boot:spring-boot-dependencies"))
}
}Vampire
09/01/2023, 6:54 PMVampire
09/01/2023, 6:54 PMClayton Walker
09/01/2023, 7:08 PMClayton Walker
09/01/2023, 7:08 PMval platformConfigurations = listOf("implementation", "kapt", "annotationProcessor")
configurations.matching { it.name in platformConfigurations }.configureEach {
this(platform(SpringBootPlugin.BOM_COORDINATES))
}
is sorta what we settled onClayton Walker
09/01/2023, 7:09 PMeven the maintainer of the plugin recommends to not use it anymore.?
Clayton Walker
09/01/2023, 7:38 PM