Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 4.81 KB

README.md

File metadata and controls

35 lines (26 loc) · 4.81 KB

Heroku Cloud Native Gradle Buildpack

CI Registry

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.

Reference

Detect

Requires either build.gradle, settings.gradle, build.gradle.kts or settings.gradle.kts at the root of the application source.

Build Plan

Requires

jdk

To compile Java sources a JDK is required. It can be provided by the heroku/jvm (Source, Readme) buildpack.

jvm-application

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.

Provides

jvm-application

Allows other buildpacks to depend on a compiled JVM application.

Environment Variables

GRADLE_TASK

Allows overriding the Gradle task used during the build process. The default task is stage.

License

See LICENSE file.