Skip to content

Commit 8e64f6d

Browse files
authored
libcnb 0.21 and CNB targets support (#662)
1 parent d262143 commit 8e64f6d

40 files changed

Lines changed: 267 additions & 286 deletions

Cargo.lock

Lines changed: 43 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildpacks/gradle/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- 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))
13+
1014
## [4.1.1] - 2024-05-01
1115

1216
- No changes.

buildpacks/gradle/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ workspace = true
99
[dependencies]
1010
buildpacks-jvm-shared.workspace = true
1111
indoc = "2"
12-
libcnb = "=0.17.0"
13-
libherokubuildpack = { version = "=0.17.0", default-features = false, features = ["command", "error", "log"] }
12+
libcnb = "=0.21.0"
13+
libherokubuildpack = { version = "=0.21.0", default-features = false, features = ["command", "error", "log"] }
1414
nom = "7"
1515
serde = { version = "1", features = ["derive"] }
1616

1717
[dev-dependencies]
1818
buildpacks-jvm-shared-test.workspace = true
19-
libcnb-test = "=0.17.0"
19+
libcnb-test = "=0.21.0"

buildpacks/gradle/buildpack.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
api = "0.9"
1+
api = "0.10"
22

33
[buildpack]
44
id = "heroku/gradle"
@@ -12,8 +12,14 @@ clear-env = true
1212
[[buildpack.licenses]]
1313
type = "BSD-3-Clause"
1414

15+
# This workaround can be removed once a new Pack release ships that includes:
16+
# https://github.com/buildpacks/pack/pull/2081
1517
[[stacks]]
1618
id = "*"
1719

20+
[[targets]]
21+
os = "linux"
22+
arch = "amd64"
23+
1824
[metadata.release]
1925
image = { repository = "docker.io/heroku/buildpack-gradle" }

0 commit comments

Comments
 (0)