Correct grouping of custom buildpacks
This commit corrects the order.toml file that is generated and added to the builder when building an image using custom buildpacks with the Maven or Gradle plugin in order to support buildpacks that depend on detection as a group. Fixes gh-25378pull/25409/head
parent
9c24ca06ae
commit
76e42ff96f
@ -1,15 +0,0 @@
|
||||
[[order]]
|
||||
group = [
|
||||
{ id = "example/buildpack1", version = "0.0.1" }
|
||||
]
|
||||
|
||||
[[order]]
|
||||
group = [
|
||||
{ id = "example/buildpack2", version = "0.0.2" }
|
||||
]
|
||||
|
||||
[[order]]
|
||||
group = [
|
||||
{ id = "example/buildpack3", version = "0.0.3" }
|
||||
]
|
||||
|
@ -1,15 +1,14 @@
|
||||
[[order]]
|
||||
group = [
|
||||
{ id = "example/buildpack1" }
|
||||
]
|
||||
|
||||
[[order]]
|
||||
group = [
|
||||
{ id = "example/buildpack2" }
|
||||
]
|
||||
[[order.group]]
|
||||
id = "example/buildpack1"
|
||||
version = "0.0.1"
|
||||
|
||||
[[order]]
|
||||
group = [
|
||||
{ id = "example/buildpack3" }
|
||||
]
|
||||
[[order.group]]
|
||||
id = "example/buildpack2"
|
||||
version = "0.0.2"
|
||||
|
||||
[[order.group]]
|
||||
id = "example/buildpack3"
|
||||
version = "0.0.3"
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot' version '{version}'
|
||||
}
|
||||
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = '1.8'
|
||||
|
||||
bootBuildImage {
|
||||
buildpacks = [ "gcr.io/paketo-buildpacks/java:latest" ]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot' version '{version}'
|
||||
}
|
||||
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = '1.8'
|
||||
|
||||
bootBuildImage {
|
||||
buildpacks = ["gcr.io/paketo-buildpacks/bellsoft-liberica:latest",
|
||||
"gcr.io/paketo-buildpacks/executable-jar:latest",
|
||||
"gcr.io/paketo-buildpacks/spring-boot:latest"]
|
||||
}
|
Loading…
Reference in New Issue