Intellij IDEA dependencies not being updated when gradle deps updated

When using a simple multimodule java project with intellij idea, updating dependencies does not update the idea dependencies. I changed the logger from log4j to slf4j, but the IDEA module / subproject still shows log4j. Using “gradle idea” seems to have no effect. Also “gradle cleanIdea” seems to have no effect.

I’m using IDEA 11.0.2.

I may have posted too soon!

In my top level build file, I used:

subprojects {

apply plugin: ‘idea’ }

changing this to:

allprojects {

apply plugin: ‘idea’ }

has fixed the issues!