@@ -30,6 +30,16 @@ Download and Install
3030 to download the driver
3131 and dependencies directly from Maven.
3232
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+
3343 .. step:: Install the Project Reactor Library
3444
3545 This guide uses methods from the Reactor library, a library based on the
@@ -87,7 +97,6 @@ Download and Install
8797 <dependency>
8898 <groupId>org.mongodb</groupId>
8999 <artifactId>mongodb-driver-reactivestreams</artifactId>
90- <version>{+full-version+}</version>
91100 </dependency>
92101 </dependencies>
93102
@@ -97,14 +106,18 @@ Download and Install
97106 .. code-block:: groovy
98107
99108 dependencies {
100- implementation 'org.mongodb:mongodb-driver-reactivestreams:{+full-version+} '
109+ implementation 'org.mongodb:mongodb-driver-reactivestreams'
101110 }
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+
103116 After you configure your dependencies, ensure they are available to your
104117 project by running your dependency manager and refreshing
105118 the project in your IDE.
106-
119+
107120After you complete these steps, you have a new project
108121and the driver dependencies installed.
109122
110- .. include:: /includes/get-started/quickstart-troubleshoot.rst
123+ .. include:: /includes/get-started/quickstart-troubleshoot.rst
0 commit comments