@@ -34,6 +34,16 @@ or `Maven <https://maven.apache.org/>`__.
34
34
<{+kotlin-docs+}/docs/jvm-get-started.html>`__ in the {+language+}
35
35
language documentation.
36
36
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
+
37
47
.. step:: Add MongoDB as a Dependency
38
48
39
49
If you are using Gradle to manage your
@@ -47,6 +57,10 @@ or `Maven <https://maven.apache.org/>`__.
47
57
48
58
.. include:: /includes/kotlin-sync-driver-maven-versioned.rst
49
59
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
+
50
64
After you configure your dependencies, ensure that they are
51
65
available to your project by running the dependency manager and
52
66
refreshing the project in your IDE.
@@ -74,11 +88,9 @@ or `Maven <https://maven.apache.org/>`__.
74
88
project by running the dependency manager and refreshing the
75
89
project in your IDE.
76
90
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`.
79
92
80
93
After you complete these steps, you have a new project directory
81
94
and the driver dependencies installed.
82
95
83
96
.. include:: /includes/get-started/quickstart-troubleshoot.rst
84
-
0 commit comments