2

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?

ilPittiz
  • 734
  • 1
  • 10
  • 23

1 Answers1

9

It's gradle -Dgrails.env=prod bootRun

practical programmer
  • 1,604
  • 10
  • 15