IntelliJ IDEA 2016.2 Help

Creating Gradle Project with Grails Integration

IntelliJ IDEA lets you create a Gradle project with Grails integration using Gradle-Grails plugin. The plugin lets you build Grails applications using Gradle.

Creating Gradle Project with Grails integration

  1. Create a simple Gradle project.
  2. Open build.gradle file.
  3. From the Gradle-Grails plugin Website copy the content of the build.gradle example and paste it to the opened build file inside your IDE.
  4. In the Gradle tool window, click refresh icon to refresh your Gradle project.

    The list of Grails tasks are added to the All tasks area in the Gradle Tool Window.

  5. From the All tasks list, run init task.

    The task creates a Grails application. The Grails View tool window becomes available and you can start working with Grails.
    For more information on working with Grails, see Grails procedures.

See Also

Last modified: 23 November 2016