How to download dependencies like in maven

I am very very new to gradle. I have maven background so excuse the stupidity of my question. I have picked up a task to try out gradle using Spring STS IDE(NodeEclipse/Enide Gradle for Eclipse). basically I am trying to build a SOAP web service which provide myself a set of helper methods for hashing in various SHA alrgorithm.

I wanted to use the apache common code library for that. I think I have added that to the dependency but for some reason the IDE can’t find them after I have run the compileJava. Kindly see my gradle fine in