Grails Programmer : How run a Gradle task with a particular Grails 3 environment?

gradle -Dgrails.env=prod clean

Tags: #grails
Mar 2016, 14.