Skip to content

Commit 8b8d254

Browse files
committed
DOCSP-49013-edits, removed versions from implementations and maven instr, better clarity in link wording
1 parent 62d9a61 commit 8b8d254

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ list.
5353

5454
.. replacement:: installation-guide
5555

56-
:ref:`Installation Guide<kotlin-get-started-install-bom>`
56+
the :ref:`Add the Driver Bill of Materials <kotlin-get-started-install-bom>` step of the
57+
Quick Start guide.
5758

5859
Select from the following tabs to see how to add the extension
5960
dependency to your project by using the :guilabel:`Gradle` and
@@ -70,7 +71,7 @@ dependency to your project by using the :guilabel:`Gradle` and
7071
.. code-block:: kotlin
7172
:caption: build.gradle.kts
7273

73-
implementation("org.mongodb:mongodb-driver-kotlin-extensions:{+full-version+}")
74+
implementation("org.mongodb:mongodb-driver-kotlin-extensions")
7475

7576
.. tab::
7677
:tabid: Maven
@@ -84,7 +85,6 @@ dependency to your project by using the :guilabel:`Gradle` and
8485
<dependency>
8586
<groupId>org.mongodb</groupId>
8687
<artifactId>mongodb-driver-kotlin-extensions</artifactId>
87-
<version>{+full-version+}</version>
8888
</dependency>
8989

9090
After you install the extensions dependency, you can use the extension

source/fundamentals/data-formats/document-data-format-bson.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ MongoDB Kotlin driver as a dependency to your project, see the
6060
:ref:`driver installation <add-mongodb-dependency>` section of our Quick Start
6161
guide.
6262

63+
.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst
64+
65+
.. replacement:: installation-guide
66+
67+
the :ref:`Add the Driver Bill of Materials <kotlin-get-started-install-bom>` step of the
68+
Quick Start guide.
69+
6370
We recommend that you use the `Maven <https://maven.apache.org/>`__ or
6471
`Gradle <https://gradle.org/>`__ build automation tool to manage your project's
6572
dependencies. Select from the following tabs to see the dependency declaration

source/fundamentals/data-formats/serialization.txt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ serialization library <https://github.com/Kotlin/kotlinx.serialization>`__.
6464

6565
.. replacement:: installation-guide
6666

67-
:ref:`Installation Guide<kotlin-get-started-install-bom>`
67+
the :ref:`Add the Driver Bill of Materials <kotlin-get-started-install-bom>` step of the
68+
Quick Start guide.
6869

6970
Select from the following tabs to see how to add the serialization
7071
dependencies to your project by using the :guilabel:`Gradle` and
@@ -81,8 +82,8 @@ dependencies to your project by using the :guilabel:`Gradle` and
8182
.. code-block:: kotlin
8283
:caption: build.gradle.kts
8384

84-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:{+serializationVersion+}")
85-
implementation("org.mongodb:bson-kotlinx:{+full-version+}")
85+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core")
86+
implementation("org.mongodb:bson-kotlinx")
8687

8788
.. tab::
8889
:tabid: Maven
@@ -96,12 +97,10 @@ dependencies to your project by using the :guilabel:`Gradle` and
9697
<dependency>
9798
<groupId>org.jetbrains.kotlinx</groupId>
9899
<artifactId>kotlinx-serialization-core</artifactId>
99-
<version>{+serializationVersion+}</version>
100100
</dependency>
101101
<dependency>
102102
<groupId>org.mongodb</groupId>
103103
<artifactId>bson-kotlinx</artifactId>
104-
<version>{+full-version+}</version>
105104
</dependency>
106105

107106
.. _kotlin-data-class-annotation:
@@ -198,7 +197,7 @@ add the dependency to your project by using the :guilabel:`Gradle` and
198197
.. code-block:: kotlin
199198
:caption: build.gradle.kts
200199

201-
implementation("org.mongodb:bson-kotlinx:{+full-version+}")
200+
implementation("org.mongodb:bson-kotlinx")
202201

203202
.. tab::
204203
:tabid: Maven
@@ -212,7 +211,6 @@ add the dependency to your project by using the :guilabel:`Gradle` and
212211
<dependency>
213212
<groupId>org.jetbrains.kotlinx</groupId>
214213
<artifactId>bson-kotlinx</artifactId>
215-
<version>{+full-version+}</version>
216214
</dependency>
217215

218216
.. note:: bson-kotlin Dependency
@@ -369,7 +367,6 @@ dependency to your project by using the :guilabel:`Gradle` and
369367
<dependency>
370368
<groupId>org.jetbrains.kotlinx</groupId>
371369
<artifactId>kotlinx-datetime-jvm</artifactId>
372-
<version>{+kotlinx-dt-version+}</version>
373370
</dependency>
374371

375372
To learn more about this library, see the :github:`kotlinx-datetime repository

source/quick-start.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ 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-
.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst
102-
103-
.. replacement:: installation-guide
104-
105-
:ref:`Installation Guide<kotlin-get-started-install-bom>`
106-
107101
After you configure your dependencies, ensure that they are available to your
108102
project by running the dependency manager and refreshing the
109103
project in your IDE.

0 commit comments

Comments
 (0)