1.9rc3 idea plugin support for IDEA 13

I’m noticing that there are some issues with using Gradle 1.9 with Intellij 13… as far as I can tell they only appear when old bits of old configurations (from Intellij 12, Netbeans, or Gradle 1.8) are lying around. In order to get things working I did the following.

Careful if you follow these steps… consider moving the files instead of deleting them if you don’t know whether you need them. I know I didn’t need them for anything and they are automatically recreated by gradle or the ide.

gradle clean cleanIdea

rm -rf .idea

rm -f *.iml

rm -rf .gradle

rm -rf build # was necessary for me, but probably not for you

rm -f build.xml # left over Netbeans auto generated build

rm -rf nbproject

./gradlew idea

Then I opened Intellij and opened the project (I didn’t import, I opened).