This is a Heroku buildpack for Java apps using Ant.
It combines this ant heroku buildpack with the standard heroku java buildpack so that it is possible to use both Ant and specify with a system.properties file which java version to use.
See both the two other github repositories for how to add the ant buildpack and how to specify the java version.