How to change Grails 3 SDK path in IntelliJ project once created?

2.9k views Asked by At

I would like to change my project from Grails from 3.0.9 to 3.0.10 since latter contains Promise API.

How to do that in IntelliJ?

2

There are 2 answers

5
LynAs On

in the gradle.properties file change

grailsVersion=3.0.10

also in the build.gradle change

buildscript {
    ext {
        grailsVersion = project.grailsVersion
    }
}
0
Pete Cornwell On

You just need to change the grails version in gradle.properties. The gradle build script will pull the required jar files from the grails repo specified in your build file.