Giter Site home page Giter Site logo

malax / heroku-buildpack-gradle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from heroku/heroku-buildpack-gradle

0.0 2.0 0.0 178 KB

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

License: MIT License

Shell 62.92% Ruby 37.08%

heroku-buildpack-gradle's Introduction

Heroku buildpack: Gradle CircleCI

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

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

Run Tests Locally

Tests can be run and debugged locally by using the Circle CI CLI.

For example, to run Hatchet tests on heroku-18 run:

$ circleci local execute --job hatchet-heroku-18 \
    --env HEROKU_API_USER=$(heroku whoami) \
    --env HEROKU_API_KEY=$(heroku auth:token)

Available jobs are defined in .circleci/config.yml.

Costs

This command uses the credentials from your local heroku configuration. This means your account will be billed for any cost these tests incur. Proceed with caution.

heroku-buildpack-gradle's People

Contributors

jkutner avatar malax avatar ryanbrainard avatar dependabot[bot] avatar sclasen avatar ldaley avatar davidmc24 avatar marcpa00 avatar mattgraham avatar snyk-bot avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.