# How to enforce consistent dependency versions in a multi-project setup?

**URL:** <https://discuss.gradle.org/t/how-to-enforce-consistent-dependency-versions-in-a-multi-project-setup/27445>\
**Category:** Help/Discuss\
**Created:** [June 21, 2018, 10:47am UTC](https://discuss.gradle.org/t/how-to-enforce-consistent-dependency-versions-in-a-multi-project-setup/27445 "2018-06-21T10:47:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eekboom](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@eekboom](https://discuss.gradle.org/u/eekboom)\
**Post date:** [June 21, 2018, 10:47am UTC](https://discuss.gradle.org/t/how-to-enforce-consistent-dependency-versions-in-a-multi-project-setup/27445/1 "2018-06-21T10:47:46Z")

</div>

We are developing a set of in-house libraries that can be picked by projects in combination or independently.  
All these libraries are built in a single multi-project setup (one sub-project for each jar).

I had hoped that I can configure a ResolutionStrategy on the main project with “failOnVersionConflict”.  
But that does not work, because the individual jars (mostly) have no dependencies in between them.

However it is a valid concern that we want to avoid offering libraries to client projects that bring along version conflicts if used in combination.

So: How can we make sure that all our libraries use a consistent set of (transitive) dependencies?
