IDEA: Grails SDIL not selected

How do I set up Grails with IntelliJ IDEA? I have the final edition. sdkman

installed Grails in /home/user/.sdkman/candidates/grails/current/bin/grails

, but if I select this folder as SDK, IDEA says:The selected directory is not a valid home for Grails SDK

How do I create an IDEA project with Grails?

grails -version

from terminal provides me with the following:

| Grails Version: 3.2.8
| Groovy Version: 2.4.10
| JVM Version: 1.8.0_121

      

So it's definitely there ..

+3


source to share


1 answer


No need to select SDK grails with your version. Import the project from existing sources -> double click the file build.gradle

- it will import and set everything up correctly. Assuming IntelliJ 2016.x or 2017.x

Video of the process here: http://guides.grails.org/grails-quickcasts-developing-grails-3-applications-with-intellij-idea/guide/index.html



Edit: I see what you are talking about now, you cannot select current

in sdkman - use/home/user/.sdkman/candidates/grails/3.2.8

+3


source







All Articles