File tree Expand file tree Collapse file tree 1 file changed +5
-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 +5
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,11 @@ 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: Although the use of Kotlin is demonstrated in some examples above, a main class written in Java is assumed.
158
+ If however the main class is written in Kotlin, the name of the generated Java class should be used.
159
+ By default, this is the name of the Kotlin class with the `Kt` suffix added.
160
+ For example: `ExampleApplication` becomes `ExampleApplicationKt`.
161
+ (If another name is defined using the `@JvmName` annotation, then that name should be used.)
157
162
158
163
[[packaging-executable-configuring-excluding-devtools]]
159
164
==== Excluding Devtools
You can’t perform that action at this time.
0 commit comments