Skip to content

Commit 4ac8138

Browse files
committed
...
1 parent 27f5d5d commit 4ac8138

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

spring-boot-tools/spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/SpringBootPluginExtension.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ import org.springframework.boot.loader.tools.Layouts
4141
*/
4242
public class SpringBootPluginExtension {
4343

44-
/**
45-
* Launcher class, replaces the default specified by layout. Optional.
46-
*/
47-
String launcherClass;
44+
/**
45+
* Launcher class, replaces the default specified by layout. Optional.
46+
*/
47+
String launcherClass;
4848

49-
/**
49+
/**
5050
* The main class that should be run. Instead of setting this explicitly you can use the
5151
* 'mainClassName' of the project or the 'main' of the 'run' task. If not specified the
5252
* value from the MANIFEST will be used, or if no manifest entry is the archive will be

spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ private Manifest buildManifest(JarFile source) throws IOException {
260260
}
261261
else if (startClass != null) {
262262
manifest.getMainAttributes().putValue(MAIN_CLASS_ATTRIBUTE, startClass);
263-
manifest.getMainAttributes().putValue(START_CLASS_ATTRIBUTE, startClass);
264263
}
265264
String bootVersion = getClass().getPackage().getImplementationVersion();
266265
manifest.getMainAttributes().putValue(BOOT_VERSION_ATTRIBUTE, bootVersion);

0 commit comments

Comments
 (0)