You can use the standard Heroku Gradle buildpack to compile your WAR file, and then have Jetty run it:
$ heroku buildpacks:clear
$ heroku buildpacks:add heroku/gradle
$ heroku buildpacks:add https://github.com/WeTrustPlatform/heroku-buildpack-jetty-standalone.git