@@ -19,11 +19,11 @@ The `<dependencyManagement />` section declares dependencies to the BOMs for bot
|
||||
|
||||
The standard `<dependencies />` section can now list Spring Framework and Spring Data dependencies without declaring a version and still be sure all libraries are in matching versions.
|
||||
|
||||
Note, that we don't declare a Spring Framework dependency here. The import of the Spring Framework BOM nonetheless makes sure we control the version of all transitive Spring Framework dependencies pulled in by the Spring Data modules.
|
||||
Note that we do not declare a Spring Framework dependency here. The import of the Spring Framework BOM nonetheless makes sure we control the version of all transitive Spring Framework dependencies pulled in by the Spring Data modules.
|
||||
|
||||
== Gradle
|
||||
|
||||
Gradle does not support Maven BOMs (Bill of Materials) out of the box, so the first thing to do is important the
|
||||
Gradle does not support Maven BOMs (Bill of Materials) out of the box, so the first thing to do is to import the
|
||||
https://github.com/spring-gradle-plugins/dependency-management-plugin[dependency management plugin]. This example is based on Java,
|
||||
but if you need a different language plugin (e.g. Kotlin), you can do so.
|
||||
|
||||
@@ -32,5 +32,5 @@ The `dependencyManagement` section can be used to import the Spring Framework BO
|
||||
The standard `dependencies` section can now list Spring and Spring Data dependencies without declaring a version and still
|
||||
be sure all libraries are align with each other.
|
||||
|
||||
Note how you don't declare a Spring Framework dependency. Nevertheless, the dependency management plugin and the Spring Framework BOM
|
||||
Note how you do not declare a Spring Framework dependency. Nevertheless, the dependency management plugin and the Spring Framework BOM
|
||||
ensures you control the version of all transitive Spring Framework dependencies pulled in by Spring Data.
|
||||
|
||||
Reference in New Issue
Block a user