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
1f34da90
Commit
1f34da90
authored
Oct 08, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document application plugin's need for mainClassName to be set
Closes gh-14250
parent
5d3f30ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
packaging.adoc
...pring-boot-gradle-plugin/src/main/asciidoc/packaging.adoc
+1
-1
publishing.adoc
...ring-boot-gradle-plugin/src/main/asciidoc/publishing.adoc
+3
-1
running.adoc
.../spring-boot-gradle-plugin/src/main/asciidoc/running.adoc
+1
-1
No files found.
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/packaging.adoc
View file @
1f34da90
...
...
@@ -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"]
----
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/publishing.adoc
View file @
1f34da90
...
...
@@ -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.
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/running.adoc
View file @
1f34da90
...
...
@@ -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"]
----
...
...
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