File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,10 @@ include::../gradle/packaging/boot-jar-manifest-main-class.gradle[tags=main-class
154
154
include::../gradle/packaging/boot-jar-manifest-main-class.gradle.kts[tags=main-class]
155
155
----
156
156
157
+ NOTE: If the main class is written in Kotlin, the name of the generated Java class should be used.
158
+ By default, this is the name of the Kotlin class with the `Kt` suffix added.
159
+ For example, `ExampleApplication` becomes `ExampleApplicationKt`.
160
+ If another name is defined using `@JvmName` then that name should be used.
157
161
158
162
[[packaging-executable-configuring-excluding-devtools]]
159
163
==== Excluding Devtools
You can’t perform that action at this time.
0 commit comments