Heroku's official Cloud Native Buildpack for Gradle.
This buildpack is designed to work in conjunction with other Heroku buildpacks and cannot be used independently. If you
want to build a Java application, use the heroku/java
buildpack (Source,
Readme) which includes this Gradle buildpack.
Requires either build.gradle
, settings.gradle
, build.gradle.kts
or settings.gradle.kts
at the root of the application source.
To compile Java sources a JDK is required. It can be provided by the heroku/jvm
(Source,
Readme) buildpack.
This is not a strict requirement of the buildpack. Requiring jvm-application
ensures that this Gradle buildpack can be
used even when no other buildpack requires jvm-application.
Allows other buildpacks to depend on a compiled JVM application.
Allows overriding the Gradle task used during the build process. The default task is stage
.
See LICENSE file.