Fix main class resolution failure when loaded from config cache
See gh-22922
This commit is contained in:
@@ -198,6 +198,8 @@ abstract class AbstractBootArchiveIntegrationTests {
|
||||
Attributes mainAttributes = jarFile.getManifest().getMainAttributes();
|
||||
assertThat(mainAttributes.getValue("Start-Class")).isEqualTo("com.example.main.CustomMainClass");
|
||||
}
|
||||
assertThat(this.gradleBuild.build(this.taskName).task(":" + this.taskName).getOutcome())
|
||||
.isEqualTo(TaskOutcome.UP_TO_DATE);
|
||||
}
|
||||
|
||||
private void copyMainClassApplication() throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user