This is a Heroku buildpack for Gradle apps. It uses Gradle to build your application and OpenJDK to run it.
- Install the Gradle Wrapper into your project.
- This allows control over the Gradle version and exact distribution to be used.
- Specify the Java version to be used as per these instructions.
- If you are not using Spring Boot or Ratpack, then follow the instructions for configuring your build.
You do not need to explicitly declare that your project should use this buildpack.
The presence of a
gradlew script in the root of your project will allow the fact that your app is built with Gradle to detected.
bin directory of the installed JDK is placed on the
PATH for process execution (i.e. the
java command is available to start the app).