Skip to content

MichaelHills/heroku-buildpack-gradle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku buildpack: Gradle Build Status

This is a Heroku buildpack for Gradle apps. It uses Gradle to build your application and OpenJDK to run it.

Usage

  1. Install the Gradle Wrapper into your project.
    • This allows control over the Gradle version and exact distribution to be used.
  2. Specify the Java version to be used as per these instructions.
  3. Add a task named stage to the root Gradle project that builds your application (this task will be executed to build the app).
  4. Add a Procfile to your project defining how to launch the app.

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.

The 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).

If you need to use a task other than stage to build your app (or need to specify additional args), set the GRADLE_TASK config var.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%