Polish documentation
This commit is contained in:
parent
bc23080cc6
commit
67af4c0a65
|
@ -5,7 +5,7 @@ plugins {
|
|||
|
||||
// tag::env[]
|
||||
tasks.named("bootBuildImage") {
|
||||
environment = ["BP_JVM_VERSION" : "8.*"]
|
||||
environment = ["BP_JVM_VERSION" : "17"]
|
||||
}
|
||||
// end::env[]
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ plugins {
|
|||
|
||||
// tag::env[]
|
||||
tasks.named<BootBuildImage>("bootBuildImage") {
|
||||
environment.set(mapOf("BP_JVM_VERSION" to "8.*"))
|
||||
environment.set(mapOf("BP_JVM_VERSION" to "17"))
|
||||
}
|
||||
// end::env[]
|
||||
|
||||
|
|
|
@ -252,7 +252,7 @@ class PackagingDocumentationTests {
|
|||
void bootBuildImageWithCustomBuildpackJvmVersion() {
|
||||
BuildResult result = this.gradleBuild.script("src/docs/gradle/packaging/boot-build-image-env")
|
||||
.build("bootBuildImageEnvironment");
|
||||
assertThat(result.getOutput()).contains("BP_JVM_VERSION=8.*");
|
||||
assertThat(result.getOutput()).contains("BP_JVM_VERSION=17");
|
||||
}
|
||||
|
||||
@TestTemplate
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<configuration>
|
||||
<image>
|
||||
<env>
|
||||
<BP_JVM_VERSION>8.*</BP_JVM_VERSION>
|
||||
<BP_JVM_VERSION>17</BP_JVM_VERSION>
|
||||
</env>
|
||||
</image>
|
||||
</configuration>
|
||||
|
|
Loading…
Reference in New Issue