How do you add dependencies into build.gradle then work with those dependencies straight away in the IDE? (I've tried it with STS & Netbeans)
Here is the long story: I was following springs consuming rest tutorial (modifying it slightly to suit my own rest service and objects). I started a new gradle project, then added the dependencies to build.gradle. Then when I added RestTemplate into the main application file, I could not resolve it. I tried building the project and while I noted it downloaded the dependencies I still could not resolve RestTemplate (nor @JsonIgnoreProperties(ignoreUnknown=true)). In Spring Tool Suite I tried restarting the application and nothing changed. In Netbeans I tried restarting the application and it worked! But I'd rather have more control over this than trial'n'error. What's the proper procedure?
Edit Peter has answered STS in the comments. Netbeans anyone?