Gradle downloading different dependency versions

I’m migrating a project to gradle to resolve dependencies, generate the eclipse project and build the project and I’m with a problem with the version of some dependencies on eclipse project. Here’s the build.gradle of the project. It’s an EAR with sub-projects.

https://gist.github.com/augustocdias/dd15f6db439b31523a29

When I call ‘gradle ear’ it builds and generate my artifact correctly. In the lib directory inside the root of the EAR there’s all my earlibs with its correct versions. When I call ‘gradle cleanEclipse eclipse’ it generates my project right, but when I see the build path inside eclipse it is using an incorrect version for commons beanutils. It is using the version 1.8. This is not happening for all my dependencies, but there are others with this problem. I’ve put all to not resolve the transitive dependencies.