{"id":13716386,"url":"https://github.com/heroku/heroku-buildpack-gradle","last_synced_at":"2026-02-24T18:02:50.164Z","repository":{"id":837863,"uuid":"1942590","full_name":"heroku/heroku-buildpack-gradle","owner":"heroku","description":"Heroku's classic buildpack for Gradle applications.","archived":false,"fork":false,"pushed_at":"2025-05-05T13:54:21.000Z","size":559,"stargazers_count":63,"open_issues_count":4,"forks_count":90,"subscribers_count":101,"default_branch":"main","last_synced_at":"2025-05-05T14:52:48.724Z","etag":null,"topics":["buildpack","gradle","heroku","heroku-languages"],"latest_commit_sha":null,"homepage":"https://devcenter.heroku.com/categories/java-support","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heroku.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-06-23T16:28:21.000Z","updated_at":"2025-04-09T14:24:25.000Z","dependencies_parsed_at":"2024-02-01T18:56:07.707Z","dependency_job_id":"d2e0c534-d99b-4bbe-a87c-28257ab91643","html_url":"https://github.com/heroku/heroku-buildpack-gradle","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-gradle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-gradle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-gradle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fheroku-buildpack-gradle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heroku","download_url":"https://codeload.github.com/heroku/heroku-buildpack-gradle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823366,"owners_count":21809704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buildpack","gradle","heroku","heroku-languages"],"created_at":"2024-08-03T00:01:09.944Z","updated_at":"2026-02-24T18:02:50.159Z","avatar_url":"https://github.com/heroku.png","language":"Shell","funding_links":[],"categories":["[Heroku Buildpacks](https://devcenter.heroku.com/)"],"sub_categories":["Provides buildpacks for:"],"readme":"![gradle](https://raw.githubusercontent.com/heroku/buildpacks/refs/heads/main/assets/images/buildpack-banner-gradle.png)\n\n# Heroku Buildpack: Gradle [![CI](https://github.com/heroku/heroku-buildpack-gradle/actions/workflows/ci.yml/badge.svg)](https://github.com/heroku/heroku-buildpack-gradle/actions/workflows/ci.yml)\n\nThis is the official [Heroku buildpack](https://devcenter.heroku.com/articles/buildpacks) for apps that use [Gradle](https://gradle.org/) as their build tool. It's primarily used to build [Java](https://www.java.com/) applications, but it can also build applications written in other JVM languages.\n\nIf you're using a different JVM build tool, use the appropriate buildpack:\n* [Java buildpack](https://github.com/heroku/heroku-buildpack-java) for [Maven](https://maven.apache.org/) projects\n* [Scala buildpack](https://github.com/heroku/heroku-buildpack-scala) for [sbt](https://www.scala-sbt.org/) projects\n* [Clojure buildpack](https://github.com/heroku/heroku-buildpack-clojure) for [Leiningen](https://leiningen.org/) projects\n\n## Table of Contents\n\n- [Supported Gradle Versions](#supported-gradle-versions)\n- [Getting Started](#getting-started)\n- [Application Requirements](#application-requirements)\n- [Configuration](#configuration)\n  - [OpenJDK Version](#openjdk-version)\n  - [Gradle Version](#gradle-version)\n  - [Buildpack Configuration](#buildpack-configuration)\n- [Documentation](#documentation)\n\n## Supported Gradle Versions\n\nThis buildpack officially supports Gradle `8.x` and `9.x`. Gradle `9.x` is the current recommended version.\n\n## Getting Started\n\nSee the [Getting Started with Gradle on Heroku](https://devcenter.heroku.com/articles/deploying-gradle-apps-on-heroku) tutorial.\n\n## Application Requirements\n\nYour app requires a `gradlew` script in the root directory. This script is created when you [install the Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) in your project.\n\n## Configuration\n\n### OpenJDK Version\n\nSpecify an OpenJDK version by creating a `system.properties` file in the root of your project directory and setting the `java.runtime.version` property. See the [Java Support article](https://devcenter.heroku.com/articles/java-support#supported-java-versions) for available versions and configuration instructions.\n\n### Gradle Version\n\nThe buildpack uses the [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) to determine which Gradle version to use. To change the Gradle version, see [Upgrading the Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:upgrading_wrapper).\n\n### Buildpack Configuration\n\nConfigure the buildpack by setting environment variables:\n\n| Environment Variable | Description | Default |\n|---------------------|-------------|---------|\n| `GRADLE_TASK` | Gradle task to execute | `stage`* |\n\n\\* The buildpack may use a different default task based on detected frameworks (e.g., `build` for [Spring Boot](https://spring.io/projects/spring-boot) and [Quarkus](https://quarkus.io/), `shadowJar` for [Micronaut](https://micronaut.io/)).\n\n## Documentation\n\nFor more information about using Java on Heroku, see the [Java Support](https://devcenter.heroku.com/categories/java-support) documentation on Dev Center.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku%2Fheroku-buildpack-gradle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheroku%2Fheroku-buildpack-gradle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku%2Fheroku-buildpack-gradle/lists"}