Code and Javadocs cleanup

This commit is contained in:
Erik C. Thauvin 2023-11-01 00:15:42 -07:00
parent b81fff3d19
commit 2b58bef262
5 changed files with 53 additions and 49 deletions

View file

@ -88,12 +88,11 @@ public class BootJarOperation extends AbstractBootOperation<BootJarOperation> {
.launcherClass("org.springframework.boot.loader.JarLauncher")
.launcherLibs(project.standaloneClasspathJars())
.mainClass(project.mainClass())
.manifestAttributes(
List.of(
new BootManifestAttribute("Manifest-Version", "1.0"),
new BootManifestAttribute("Main-Class", launcherClass()),
new BootManifestAttribute("Start-Class", mainClass()))
)
.manifestAttributes(List.of(
new BootManifestAttribute("Manifest-Version", "1.0"),
new BootManifestAttribute("Main-Class", launcherClass()),
new BootManifestAttribute("Start-Class", mainClass())
))
.sourceDirectories(project.buildMainDirectory(), project.srcMainResourcesDirectory());
}
}