@@ -34,6 +34,16 @@ or `Maven <https://maven.apache.org/>`__.
3434 <{+kotlin-docs+}/docs/jvm-get-started.html>`__ in the {+language+}
3535 language documentation.
3636
37+ .. step:: Add the Driver Bill of Materials
38+
39+ .. _kotlin-sync-get-started-install-bom:
40+
41+ .. sharedinclude:: dbx/jvm/bom.rst
42+
43+ .. replacement:: gradle-filename
44+
45+ ``build.gradle.kts``
46+
3747 .. step:: Add MongoDB as a Dependency
3848
3949 If you are using Gradle to manage your
@@ -47,6 +57,10 @@ or `Maven <https://maven.apache.org/>`__.
4757
4858 .. include:: /includes/kotlin-sync-driver-maven-versioned.rst
4959
60+ Because you installed the BOM, you can omit a version in the
61+ {+driver-short+} dependency entry. The version you specify in the
62+ BOM determines the dependency versions to install.
63+
5064 After you configure your dependencies, ensure that they are
5165 available to your project by running the dependency manager and
5266 refreshing the project in your IDE.
@@ -74,11 +88,9 @@ or `Maven <https://maven.apache.org/>`__.
7488 project by running the dependency manager and refreshing the
7589 project in your IDE.
7690
77- .. To learn more about these packages, see
78- .. :ref:`kotlin-sync-serialization`.
91+ To learn more about these packages, see :ref:`kotlin-sync-serialization`.
7992
8093After you complete these steps, you have a new project directory
8194and the driver dependencies installed.
8295
8396.. include:: /includes/get-started/quickstart-troubleshoot.rst
84-
0 commit comments