Adding IDEA plugin boilerplate

You'll want to run through all the "Configuring IntelliJ IDEA SDK" and preliminary steps here: http://confluence.jetbrains.net/display/IDEADEV/Getting+Started+with+Plugin+Development

For my particular setup, I added a gradle.properties file with the following entry in it to correspond to the IDEA SDK name that was created in above:

    ideaPluginJdkName=IDEA IU-117.418

After you've set that up, you should be able to build your IDEA project files with Gradle (including any dependencies, etc.) with the following from the root project:

    ./gradlew clean idea

From there, you can add an IntelliJ Configuration called simply "Plugin" that generates a sandbox IntelliJ environment to launch the currently loaded project.

When everything is squared away, you can create a plugin distribution zip for others to import into IDEA with the following:

    ./gradlew distPlugin