Commit 3f1b3db2 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '2.0.x'

parents 749fa96a 1f34da90
...@@ -142,7 +142,7 @@ include::../gradle/packaging/spring-boot-dsl-main-class.gradle.kts[tags=main-cla ...@@ -142,7 +142,7 @@ include::../gradle/packaging/spring-boot-dsl-main-class.gradle.kts[tags=main-cla
If the {application-plugin}[`application` plugin] has been applied its `mainClassName` 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,attributes",role="primary"] [source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
.Groovy .Groovy
......
...@@ -52,4 +52,6 @@ include::../gradle/publishing/maven-publish.gradle.kts[tags=publishing] ...@@ -52,4 +52,6 @@ include::../gradle/publishing/maven-publish.gradle.kts[tags=publishing]
When the {application-plugin}[`application` plugin] is applied a distribution named When the {application-plugin}[`application` plugin] is applied a distribution named
`boot` is created. This distribution contains the archive produced by the `bootJar` or `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 `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.
...@@ -49,7 +49,7 @@ include::../gradle/running/spring-boot-dsl-main-class-name.gradle.kts[tags=main- ...@@ -49,7 +49,7 @@ include::../gradle/running/spring-boot-dsl-main-class-name.gradle.kts[tags=main-
If the {application-plugin}[`application` plugin] has been applied, its `mainClassName` 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,attributes",role="primary"] [source,groovy,indent=0,subs="verbatim,attributes",role="primary"]
.Groovy .Groovy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment