I'm upgrading my Grails 2.5.1 web-app to Grails 3.1.1.
To run the app locally with production
as active environment I used
grails -Dgrails.env=production run-app
Now I'm using Gradle tasks, in particular gradle bootRun
.
What's the easiest equivalent to the previous syntax?
It's gradle -Dgrails.env=prod bootRun