mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish "Test Gradle plugin against Gradle 8.2-rc-1"
See gh-35708
This commit is contained in:
parent
60e6a5be92
commit
cdcebe452c
@ -123,7 +123,7 @@ class NativeImagePluginActionIntegrationTests {
|
||||
@TestTemplate
|
||||
void nativeEntryIsAddedToManifest() throws IOException {
|
||||
writeDummySpringApplicationAotProcessorMainClass();
|
||||
BuildResult result = this.gradleBuild.build("bootJar");
|
||||
BuildResult result = this.gradleBuild.expectDeprecationWarningsWithAtLeastVersion("8.2-rc-1").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"));
|
||||
|
Loading…
Reference in New Issue
Block a user