Browse Source

Merge branch '2.2.x' into 2.3.x

Closes gh-23422
pull/23585/head
Andy Wilkinson 6 years ago
parent
commit
d06af28cd8
  1. 4
      spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging.adoc

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

@ -147,6 +147,10 @@ include::../gradle/packaging/boot-jar-manifest-main-class.gradle[tags=main-class @@ -147,6 +147,10 @@ include::../gradle/packaging/boot-jar-manifest-main-class.gradle[tags=main-class
include::../gradle/packaging/boot-jar-manifest-main-class.gradle.kts[tags=main-class]
----
NOTE: If the main class is written in Kotlin, the name of the generated Java class should be used.
By default, this is the name of the Kotlin class with the `Kt` suffix added.
For example, `ExampleApplication` becomes `ExampleApplicationKt`.
If another name is defined using `@JvmName` then that name should be used.
[[packaging-executable-configuring-including-development-only-dependencies]]

Loading…
Cancel
Save