Skip to content

Commit

Permalink
Replace stacks with targets in buildpack.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax committed May 8, 2024
1 parent b9e239f commit f038756
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
5 changes: 3 additions & 2 deletions buildpacks/gradle/buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ clear-env = true
[[buildpack.licenses]]
type = "BSD-3-Clause"

[[stacks]]
id = "*"
[[targets]]
os = "linux"
arch = "amd64"

[metadata.release]
image = { repository = "docker.io/heroku/buildpack-gradle" }
5 changes: 3 additions & 2 deletions buildpacks/jvm-function-invoker/buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ clear-env = true
[[buildpack.licenses]]
type = "BSD-3-Clause"

[[stacks]]
id = "*"
[[targets]]
os = "linux"
arch = "amd64"

[metadata.runtime]
url = "https://repo1.maven.org/maven2/com/salesforce/functions/sf-fx-runtime-java-runtime/1.1.6/sf-fx-runtime-java-runtime-1.1.6-jar-with-dependencies.jar"
Expand Down
8 changes: 3 additions & 5 deletions buildpacks/jvm/buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ keywords = ["openjdk", "heroku"]
[[buildpack.licenses]]
type = "BSD-3-Clause"

[[stacks]]
id = "heroku-20"

[[stacks]]
id = "heroku-22"
[[targets]]
os = "linux"
arch = "amd64"

[metadata.heroku-metrics-agent]
url = "https://repo1.maven.org/maven2/com/heroku/agent/heroku-java-metrics-agent/4.0.1/heroku-java-metrics-agent-4.0.1.jar"
Expand Down
5 changes: 3 additions & 2 deletions buildpacks/maven/buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ clear-env = true
[[buildpack.licenses]]
type = "BSD-3-Clause"

[[stacks]]
id = "*"
[[targets]]
os = "linux"
arch = "amd64"

[metadata]
default-version = "3.9.4"
Expand Down
5 changes: 3 additions & 2 deletions buildpacks/sbt/buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ clear-env = true
[[buildpack.licenses]]
type = "BSD-3-Clause"

[[stacks]]
id = "*"
[[targets]]
os = "linux"
arch = "amd64"

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

0 comments on commit f038756

Please sign in to comment.