Fix gradle stage task for heroku