Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hale <[email protected]>
  • Loading branch information
nebhale committed Apr 17, 2020
1 parent 4cbdee8 commit 76004ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The buildpack will do the following:
* Runs `<APPLICATION_ROOT>/gradlew --no-daemon -x test build` to build the application
* If `<APPLICATION_ROOT>/gradlew` does not exist
* Contributes Gradle to a layer with all commands on `$PATH`
* Runs `<GRADLE_ROOT>/gradle -x test build` to build the application
* Runs `<GRADLE_ROOT>/bin/gradle -x test build` to build the application
* Removes the source code in `<APPLICATION_ROOT>`
* Expands `<APPLICATION_ROOT>/build/libs/*.[jw]ar` to `<APPLICATION_ROOT>`

Expand All @@ -24,7 +24,7 @@ The buildpack will do the following:
| -------------------- | -----------
| `$BP_GRADLE_BUILD_ARGUMENTS` | Configure the arguments to pass to build system. Defaults to `--no-daemon -x test build`.
| `$BP_GRADLE_BUILT_MODULE` | Configure the module to find application artifact in. Defaults to the root module (empty).
| `$BP_GRADLE_BUILT_ARTIFACT` | Configure the built application artifact explicitly. Supersedes `$BP_BUILT_MODULE` Defaults to `build/libs/*.[jw]ar`.
| `$BP_GRADLE_BUILT_ARTIFACT` | Configure the built application artifact explicitly. Supersedes `$BP_GRADLE_BUILT_MODULE` Defaults to `build/libs/*.[jw]ar`.

## License
This buildpack is released under version 2.0 of the [Apache License][a].
Expand Down
3 changes: 3 additions & 0 deletions buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ version = "{{.version}}"
[[stacks]]
id = "io.buildpacks.stacks.bionic"

[[stacks]]
id = "org.cloudfoundry.stacks.cflinuxfs3"

[[metadata.dependencies]]
id = "gradle"
name = "Gradle"
Expand Down

0 comments on commit 76004ea

Please sign in to comment.