Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
0bde5fda
Commit
0bde5fda
authored
Sep 20, 2020
by
Sebastiaan Fernandez
Committed by
Andy Wilkinson
Sep 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about Kotlin main class name
See gh-23418
parent
a8c179e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
packaging.adoc
...pring-boot-gradle-plugin/src/main/asciidoc/packaging.adoc
+5
-0
No files found.
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/packaging.adoc
View file @
0bde5fda
...
...
@@ -154,6 +154,11 @@ 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: Although the use of Kotlin is demonstrated in some examples above, a main class written in Java is assumed.
If however 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 the `@JvmName` annotation, then that name should be used.)
[[packaging-executable-configuring-excluding-devtools]]
==== Excluding Devtools
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment