I am facing an issue in a multi-project Spring Boot gradle build. I have some common jars, and a base jar that extends the common jars. One such common jar uses Hazelcast 3.8.2.
Now, I am expecting when I use that common project as a dependency to a downstream project, the same libraries (with expected version) would be added transitively. However, unless I specifically mention the version of Hazelcast in the downstream project, a different version is being added.
I tried by manually excluding the dependency as well, like
compile("org.springframework.boot:spring-boot-starter"){
exclude group:"com.hazelcast"
}
However, that did not work either. Using Spring Boot gradle plugin 1.4.4.RELEASE. Is this an issue with Spring Boot gradle plugin?
Thanks