Skip to content

Commit

Permalink
Document application plugin's need for mainClassName to be set
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Oct 8, 2018
1 parent 5d3f30e commit 1f34da9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ include::../gradle/packaging/spring-boot-dsl-main-class.gradle[tags=main-class]
----

If the {application-plugin}[`application` plugin] has been applied its `mainClassName`
project property can be used for the same purpose:
project property must be configured and can be used for the same purpose:

[source,groovy,indent=0,subs="verbatim"]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ include::../gradle/publishing/maven-publish.gradle[tags=publishing]
When the {application-plugin}[`application` plugin] is applied a distribution named
`boot` is created. This distribution contains the archive produced by the `bootJar` or
`bootWar` task and scripts to launch it on Unix-like platforms and Windows. Zip and tar
distributions can be built by the `bootDistZip` and `bootDistTar` tasks respectively.
distributions can be built by the `bootDistZip` and `bootDistTar` tasks respectively. To
use the `application` plugin, its `mainClassName` project property must be configured
with the name of your application's main class.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ include::../gradle/running/spring-boot-dsl-main-class-name.gradle[tags=main-clas
----

If the {application-plugin}[`application` plugin] has been applied, its `mainClassName`
project property can be used for the same purpose:
project property must be configured and can be used for the same purpose:

[source,groovy,indent=0,subs="verbatim"]
----
Expand Down

0 comments on commit 1f34da9

Please sign in to comment.