Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcnb 0.21 and CNB targets support #662

Merged
merged 12 commits into from
May 13, 2024
145 changes: 43 additions & 102 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions buildpacks/gradle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Buildpack API version changed from `0.9` to `0.10`, and so requires `lifecycle` `0.17.x` or newer. ([#662](https://github.com/heroku/buildpacks-jvm/pull/662))

## [4.1.1] - 2024-05-01

- No changes.
Expand Down
6 changes: 3 additions & 3 deletions buildpacks/gradle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ workspace = true
[dependencies]
buildpacks-jvm-shared.workspace = true
indoc = "2"
libcnb = "=0.17.0"
libherokubuildpack = { version = "=0.17.0", default-features = false, features = ["command", "error", "log"] }
libcnb = "=0.21.0"
libherokubuildpack = { version = "=0.21.0", default-features = false, features = ["command", "error", "log"] }
nom = "7"
serde = { version = "1", features = ["derive"] }

[dev-dependencies]
buildpacks-jvm-shared-test.workspace = true
libcnb-test = "=0.17.0"
libcnb-test = "=0.21.0"
8 changes: 7 additions & 1 deletion buildpacks/gradle/buildpack.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
api = "0.9"
api = "0.10"

[buildpack]
id = "heroku/gradle"
Expand All @@ -12,8 +12,14 @@ clear-env = true
[[buildpack.licenses]]
type = "BSD-3-Clause"

# This workaround can be removed once a new Pack release ships that includes:
# https://github.com/buildpacks/pack/pull/2081
[[stacks]]
id = "*"
Malax marked this conversation as resolved.
Show resolved Hide resolved

[[targets]]
os = "linux"
arch = "amd64"

[metadata.release]
image = { repository = "docker.io/heroku/buildpack-gradle" }
Loading