mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Add note explaining gradle ResolutionStrategy
Update reference documentation to include a note explaining that "blessed" versions a chosen based on the gradle plugin version, and that builds are repeatable. Fixes gh-619
This commit is contained in:
parent
63aa5457b0
commit
b5b2fd2377
@ -352,6 +352,11 @@ Simply declare dependencies in the usual way, but leave the version number empty
|
|||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
|
NOTE: The version of the `spring-boot` gradle plugin that you declare determines the
|
||||||
|
actual versions of the ``blessed'' dependencies (this ensures that builds are always
|
||||||
|
repeatable). You should always set the version of the `spring-boot` gradle plugin to the
|
||||||
|
actual Spring Boot version that you wish to use.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[build-tool-plugins-gradle-packaging]]
|
[[build-tool-plugins-gradle-packaging]]
|
||||||
|
@ -146,8 +146,9 @@ Maven, there is no ``super parent'' to import to share some configuration.
|
|||||||
|
|
||||||
The <<build-tool-plugins.adoc#build-tool-plugins-gradle-plugin, `spring-boot-gradle-plugin`>>
|
The <<build-tool-plugins.adoc#build-tool-plugins-gradle-plugin, `spring-boot-gradle-plugin`>>
|
||||||
is also available and provides tasks to create executable jars and run projects from
|
is also available and provides tasks to create executable jars and run projects from
|
||||||
source. It also adds a `ResolutionStrategy` that enables you to omit the version number
|
source. It also adds a `ResolutionStrategy` that enables you to
|
||||||
for ``blessed'' dependencies:
|
<<build-tool-plugins-gradle-dependencies-without-versions, omit the version number
|
||||||
|
for ``blessed'' dependencies>>:
|
||||||
|
|
||||||
[source,groovy,indent=0,subs="attributes"]
|
[source,groovy,indent=0,subs="attributes"]
|
||||||
----
|
----
|
||||||
|
Loading…
Reference in New Issue
Block a user