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/docs/asciidoc Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,10 @@ include::../gradle/packaging/boot-jar-manifest-main-class.gradle[tags=main-class
147
147
include::../gradle/packaging/boot-jar-manifest-main-class.gradle.kts[tags=main-class]
148
148
----
149
149
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.
150
154
151
155
152
156
[[packaging-executable-configuring-including-development-only-dependencies]]
You can’t perform that action at this time.
0 commit comments