From 239dea72dd447f3971beeb8bcea4ca01e92fc20e Mon Sep 17 00:00:00 2001 From: Manuel Fuchs Date: Wed, 8 May 2024 13:53:45 +0200 Subject: [PATCH] Replace stacks with targets in buildpack.toml files --- buildpacks/gradle/buildpack.toml | 5 +++-- buildpacks/jvm-function-invoker/buildpack.toml | 5 +++-- buildpacks/jvm/buildpack.toml | 8 +++----- buildpacks/maven/buildpack.toml | 5 +++-- buildpacks/sbt/buildpack.toml | 5 +++-- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/buildpacks/gradle/buildpack.toml b/buildpacks/gradle/buildpack.toml index d0f44c73..450e0a62 100644 --- a/buildpacks/gradle/buildpack.toml +++ b/buildpacks/gradle/buildpack.toml @@ -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" } diff --git a/buildpacks/jvm-function-invoker/buildpack.toml b/buildpacks/jvm-function-invoker/buildpack.toml index 1d8f554f..37a7fbda 100644 --- a/buildpacks/jvm-function-invoker/buildpack.toml +++ b/buildpacks/jvm-function-invoker/buildpack.toml @@ -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" diff --git a/buildpacks/jvm/buildpack.toml b/buildpacks/jvm/buildpack.toml index 179fbca2..147be202 100644 --- a/buildpacks/jvm/buildpack.toml +++ b/buildpacks/jvm/buildpack.toml @@ -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" diff --git a/buildpacks/maven/buildpack.toml b/buildpacks/maven/buildpack.toml index f3858186..2043aa53 100644 --- a/buildpacks/maven/buildpack.toml +++ b/buildpacks/maven/buildpack.toml @@ -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" diff --git a/buildpacks/sbt/buildpack.toml b/buildpacks/sbt/buildpack.toml index 3fe39862..b66a1c78 100644 --- a/buildpacks/sbt/buildpack.toml +++ b/buildpacks/sbt/buildpack.toml @@ -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" }