Gradle includes two plugins that allow you to integrate the Gradle build system with either the Eclipse or the Intellij IDE, allowing you to build Commerce Store Accelerator projects using one of these popular development tools. For more details, refer to the following links:
http://www.gradle.org/docs/current/userguide/eclipse_plugin.html
http://www.gradle.org/docs/current/userguide/idea_plugin.html