What strategy do you all use to remove or handle d...
# community-support
t
What strategy do you all use to remove or handle duplicate dependencies?
t
Use dependency constraints (https://docs.gradle.org/current/userguide/dependency_constraints.html), possibly through a platform (https://docs.gradle.org/current/userguide/platforms.html) in a multimodule project.
e
if you have a single ``java`` module only,
Copy code
java {
    consistentResolution {
        useCompileClasspathVersions()
may be enough
in my multi-module projects, I use version catalogs and platforms for centralized version management