In this blog post, we show the steps necessary to setup Eclipse IDE to develop Grails 3 applications.
Once, you have setup Groovy Eclipse setup the Compiler to use Groovy 2.4.13; the version used by the latest stable release of Grails 3.3.2.
Eclipse Spock Plugin
Install Eclipse Spock Plugin
Buildship Gradle plugin
Install Buildship Gradle plugin.
We are going to rely on Gradle tasks to drive our Grails development in Eclipse. Thus, you may want to enable Gradle views.
When you work often with Gradle it becomes useful to get a verbose output while you run your tests:
Common Grails Gradle Tasks
Run your app
Run unit tests
Run integration/functional tests
Run ALL tests unit/integration/functional
Build your artifacts