Fix property name in gradle plugin documentation

See gh-25454
This commit is contained in:
jnizet
2021-02-26 21:07:17 +01:00
committed by Stephane Nicoll
parent aa032e093b
commit cbab2396e2
3 changed files with 20 additions and 1 deletions

View File

@@ -242,6 +242,13 @@ class PackagingDocumentationTests {
assertThat(result.getOutput()).contains("example.com/library/" + this.gradleBuild.getProjectDir().getName());
}
@TestTemplate
void bootBuildImagePublish() throws IOException {
BuildResult result = this.gradleBuild.script("src/docs/gradle/packaging/boot-build-image-publish")
.build("bootBuildImagePublish");
assertThat(result.getOutput()).contains("true");
}
protected void jarFile(File file) throws IOException {
try (JarOutputStream jar = new JarOutputStream(new FileOutputStream(file))) {
jar.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF"));