Skip to content

Commit 0505886

Browse files
committed
DOCSP-49013: Added tips to redirect to installation to use BOM for better version management where kotlin extensions used in java/kotlin docs.
1 parent b7d4b7d commit 0505886

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

source/fundamentals/builders/builders-data-classes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ To implement this functionality, you must add the
4949
``mongodb-driver-kotlin-extensions`` dependency to your dependencies
5050
list.
5151

52+
.. include:: /includes/kotlin-driver-coroutine-BOM-tip.rst
53+
5254
Select from the following tabs to see how to add the extension
5355
dependency to your project by using the :guilabel:`Gradle` and
5456
:guilabel:`Maven` package managers:

source/fundamentals/data-formats/serialization.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ a high level of control over how your date and time values
340340
are serialized. To use the library, add the ``kotlinx-datetime``
341341
dependency to your project's dependency list.
342342

343+
.. include:: /includes/kotlin-driver-coroutine-BOM-tip.rst
344+
343345
Select from the following tabs to see how to add the ``kotlinx-datetime``
344346
dependency to your project by using the :guilabel:`Gradle` and
345347
:guilabel:`Maven` package managers:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. tip:: Bill of Materials
2+
3+
We recommend adding the JVM driver Bill of Materials (BOM) to your
4+
application to manage the versions of driver artifacts. This removes
5+
the need to specify a version for any individual package covered by
6+
the BOM, simplifying dependency management. To learn more, see
7+
more on the BOM :ref:`here. <quick-start>`

source/quick-start.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ Because you installed the BOM, you can omit a version in the
9898
{+driver-short+} dependency entry. The version you specify in the
9999
BOM determines the dependency versions to install.
100100

101+
.. include:: /includes/kotlin-driver-coroutine-BOM-tip.rst
102+
101103
After you configure your dependencies, ensure that they are available to your
102104
project by running the dependency manager and refreshing the
103105
project in your IDE.

0 commit comments

Comments
 (0)