Skip to content

Commit d06af28

Browse files
committed
Merge branch '2.2.x' into 2.3.x
Closes gh-23422
2 parents 8eb7815 + 3a3e240 commit d06af28

File tree

1 file changed

+4
-0
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc

1 file changed

+4
-0
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ include::../gradle/packaging/boot-jar-manifest-main-class.gradle[tags=main-class
147147
include::../gradle/packaging/boot-jar-manifest-main-class.gradle.kts[tags=main-class]
148148
----
149149

150+
NOTE: If the main class is written in Kotlin, the name of the generated Java class should be used.
151+
By default, this is the name of the Kotlin class with the `Kt` suffix added.
152+
For example, `ExampleApplication` becomes `ExampleApplicationKt`.
153+
If another name is defined using `@JvmName` then that name should be used.
150154

151155

152156
[[packaging-executable-configuring-including-development-only-dependencies]]

0 commit comments

Comments
 (0)