Gradle plugin not using newest dependency in transitive dependencies

Hi,
I am using IntelliJ 14.1.4 and I am using the gradle plugin for dependency management. I noticed that if there are conflicting versions of a dependency, intelliJ does not select the newest version. It picks the version that was build first. I know this is not a gradle issue, because if I run the project from the command line gradle picks the correct version of the jar. How can I configure IntelliJ to pick the newest version of conflicting dependencies ?

Thanks.

Please sign in to leave a comment.