Polish doc formatting
This commit is contained in:
parent
bfe4240ed2
commit
378d38e2e5
|
|
@ -373,9 +373,9 @@ Running this way makes your static classpath resources (i.e. in `src/main/resour
|
||||||
default) reloadable in the live application, which can be helpful at development time.
|
default) reloadable in the live application, which can be helpful at development time.
|
||||||
|
|
||||||
[[build-tool-plugins-gradle-global-configuration]]
|
[[build-tool-plugins-gradle-global-configuration]]
|
||||||
=== Spring Boot Plugin configuration
|
=== Spring Boot plugin configuration
|
||||||
The gradle plugin automatically extends your build script DSL with a `springBoot` element
|
The gradle plugin automatically extends your build script DSL with a `springBoot` element
|
||||||
for global configuration of the Boot plugin. Set the appropriate properties as you would
|
for global configuration of the Boot plugin. Set the appropriate properties as you would
|
||||||
with any other Gradle extension (see below for a list of configuration options):
|
with any other Gradle extension (see below for a list of configuration options):
|
||||||
|
|
||||||
[source,groovy,indent=0,subs="verbatim,attributes"]
|
[source,groovy,indent=0,subs="verbatim,attributes"]
|
||||||
|
|
@ -386,6 +386,7 @@ with any other Gradle extension (see below for a list of configuration options):
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[build-tool-plugins-gradle-repackage-configuration]]
|
[[build-tool-plugins-gradle-repackage-configuration]]
|
||||||
=== Repackage configuration
|
=== Repackage configuration
|
||||||
The plugin adds a `bootRepackage` task which you can also configure directly, e.g.:
|
The plugin adds a `bootRepackage` task which you can also configure directly, e.g.:
|
||||||
|
|
@ -407,27 +408,28 @@ The following configuration options are available:
|
||||||
|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" means a unique class with a well-formed `main()` method (if
|
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
|
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`
|
class name via the "run" task (`main` property) and/or the "startScripts"
|
||||||
property) as an alternative to using the "springBoot" configuration.
|
(`mainClassName` property) as an alternative to using the "springBoot" configuration.
|
||||||
|
|
||||||
|`classifier`
|
|`classifier`
|
||||||
|A file name segment (before the extension) to add to the archive, so that the original is
|
|A file name segment (before the extension) to add to the archive, so that the original is
|
||||||
preserved in its original location. Defaults to null in which case the archive is repackaged
|
preserved in its original location. Defaults to null in which case the archive is
|
||||||
in place. The default is convenient for many purposes, but if you want to use the
|
repackaged in place. The default is convenient for many purposes, but if you want to use
|
||||||
original jar as a dependency in another project, it's best to use an extension to define the
|
the original jar as a dependency in another project, it's best to use an extension to
|
||||||
executable archive.
|
define the executable archive.
|
||||||
|
|
||||||
|`withJarTask`
|
|`withJarTask`
|
||||||
|The name of the `Jar` task (defaults to all) which is used to locate the archive to repackage.
|
|The name of the `Jar` task (defaults to all) which is used to locate the archive to
|
||||||
|
repackage.
|
||||||
|
|
||||||
|`customConfiguration`
|
|`customConfiguration`
|
||||||
|The name of the custom configuration whuch is used to populate the nested lib directory
|
|The name of the custom configuration whuch is used to populate the nested lib directory
|
||||||
(without specifying this you get all compile and runtime dependencies).
|
(without specifying this you get all compile and runtime dependencies).
|
||||||
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[build-tool-plugins-gradle-repackage-custom-configuration]]
|
[[build-tool-plugins-gradle-repackage-custom-configuration]]
|
||||||
=== Repackage with custom Gradle configuration
|
=== Repackage with custom Gradle configuration
|
||||||
Sometimes it may be more appropriate to not package default dependencies resolved from
|
Sometimes it may be more appropriate to not package default dependencies resolved from
|
||||||
|
|
|
||||||
|
|
@ -1832,6 +1832,7 @@ own beans:
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[boot-features-integration]]
|
[[boot-features-integration]]
|
||||||
== Spring Integration
|
== Spring Integration
|
||||||
Spring Integration provides abstractions over messaging and also other transports such as
|
Spring Integration provides abstractions over messaging and also other transports such as
|
||||||
|
|
|
||||||
|
|
@ -125,9 +125,9 @@ section if you want to use it:
|
||||||
</build>
|
</build>
|
||||||
----
|
----
|
||||||
|
|
||||||
NOTE: If you use the Spring Boot starter parent pom, you only need to
|
NOTE: If you use the Spring Boot starter parent pom, you only need to add the plugin,
|
||||||
add the plugin, there is no need for to configure it unless you want
|
there is no need for to configure it unless you want to change the settings defined in
|
||||||
to change the settings defined in the parent.
|
the parent.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue