@@ -30,6 +30,16 @@ Download and Install
30
30
to download the driver
31
31
and dependencies directly from Maven.
32
32
33
+ .. step:: Add the Driver Bill of Materials
34
+
35
+ .. _java-rs-get-started-install-bom:
36
+
37
+ .. sharedinclude:: dbx/jvm/bom.rst
38
+
39
+ .. replacement:: gradle-filename
40
+
41
+ ``build.gradle``
42
+
33
43
.. step:: Install the Project Reactor Library
34
44
35
45
This guide uses methods from the Reactor library, a library based on the
@@ -87,7 +97,6 @@ Download and Install
87
97
<dependency>
88
98
<groupId>org.mongodb</groupId>
89
99
<artifactId>mongodb-driver-reactivestreams</artifactId>
90
- <version>{+full-version+}</version>
91
100
</dependency>
92
101
</dependencies>
93
102
@@ -97,14 +106,18 @@ Download and Install
97
106
.. code-block:: groovy
98
107
99
108
dependencies {
100
- implementation 'org.mongodb:mongodb-driver-reactivestreams:{+full-version+} '
109
+ implementation 'org.mongodb:mongodb-driver-reactivestreams'
101
110
}
102
-
111
+
112
+ Because you installed the BOM, you can omit a version in the
113
+ {+driver-short+} dependency entry. The version you specify in the
114
+ BOM determines the dependency versions to install.
115
+
103
116
After you configure your dependencies, ensure they are available to your
104
117
project by running your dependency manager and refreshing
105
118
the project in your IDE.
106
-
119
+
107
120
After you complete these steps, you have a new project
108
121
and the driver dependencies installed.
109
122
110
- .. include:: /includes/get-started/quickstart-troubleshoot.rst
123
+ .. include:: /includes/get-started/quickstart-troubleshoot.rst
0 commit comments