Merge branch '3.3.x'
Closes gh-43270
This commit is contained in:
@@ -122,9 +122,10 @@ class NativeImagePluginActionIntegrationTests {
|
||||
BuildResult result = this.gradleBuild.build("bootJar");
|
||||
assertThat(result.task(":bootJar").getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
|
||||
File buildLibs = new File(this.gradleBuild.getProjectDir(), "build/libs");
|
||||
JarFile jarFile = new JarFile(new File(buildLibs, this.gradleBuild.getProjectDir().getName() + ".jar"));
|
||||
Manifest manifest = jarFile.getManifest();
|
||||
assertThat(manifest.getMainAttributes().getValue("Spring-Boot-Native-Processed")).isEqualTo("true");
|
||||
try (JarFile jarFile = new JarFile(new File(buildLibs, this.gradleBuild.getProjectDir().getName() + ".jar"))) {
|
||||
Manifest manifest = jarFile.getManifest();
|
||||
assertThat(manifest.getMainAttributes().getValue("Spring-Boot-Native-Processed")).isEqualTo("true");
|
||||
}
|
||||
}
|
||||
|
||||
private String projectPath(String path) {
|
||||
|
||||
Reference in New Issue
Block a user