@@ -41,7 +41,7 @@ programming language, see the :driver:`list of official MongoDB drivers <>`.
4141Download and Install
4242--------------------
4343
44- This guide demonstrates how to create a project and add the
44+ This section demonstrates how to create a project and add the
4545{+driver-short+} dependencies by using `Gradle <https://gradle.org/>`__
4646or `Maven <https://maven.apache.org/>`__.
4747
@@ -71,6 +71,16 @@ or `Maven <https://maven.apache.org/>`__.
7171 <{+kotlin-docs+}/docs/jvm-get-started.html>`__ in the {+language+}
7272 language documentation.
7373
74+ .. step:: Add the Driver Bill of Materials
75+
76+ .. _kotlin-sync-get-started-install-bom:
77+
78+ .. sharedinclude:: dbx/jvm/bom.rst
79+
80+ .. replacement:: gradle-filename
81+
82+ ``build.gradle.kts``
83+
7484 .. step:: Add MongoDB as a Dependency
7585
7686 If you are using Gradle to manage your
@@ -84,6 +94,10 @@ or `Maven <https://maven.apache.org/>`__.
8494
8595 .. include:: /includes/kotlin-sync-driver-maven-versioned.rst
8696
97+ Because you installed the BOM, you can omit a version in the
98+ {+driver-short+} dependency entry. The version you specify in the
99+ BOM determines the dependency versions to install.
100+
87101 After you configure your dependencies, ensure that they are
88102 available to your project by running the dependency manager and
89103 refreshing the project in your IDE.
@@ -111,8 +125,7 @@ or `Maven <https://maven.apache.org/>`__.
111125 project by running the dependency manager and refreshing the
112126 project in your IDE.
113127
114- .. To learn more about these packages, see
115- .. :ref:`kotlin-sync-serialization`.
128+ To learn more about these packages, see :ref:`kotlin-sync-serialization`.
116129
117130After you complete these steps, you have a new project directory
118131and the driver dependencies installed.
0 commit comments