Commit 82cacf4e authored by Dave Syer's avatar Dave Syer

Clarify main class finder functionality in Gradle plugin

See gh-1072
parent 0a3612da
...@@ -451,7 +451,10 @@ The following configuration options are available: ...@@ -451,7 +451,10 @@ The following configuration options are available:
|`mainClass` |`mainClass`
|The main class that should be run. If not specified the `mainClassName` project property |The main class that should be run. If not specified the `mainClassName` project property
will be used or, if the no `mainClassName` id defined the archive will be searched for a will be used or, if the no `mainClassName` id defined the archive will be searched for a
suitable class. suitable class. "Suitable" means a unique class with a well-formed `main()` method (if
more than one is found the build will fail). You should also be able to specify the main
class name via the "run" task (`main` property) and/or the "startScripts" (`mainClassName`
property) as an alternative to using the "springBoot" configuration.
|`providedConfiguration` |`providedConfiguration`
|The name of the provided configuration (defaults to `providedRuntime`). |The name of the provided configuration (defaults to `providedRuntime`).
......
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