Skip to content

Commit 05c4e26

Browse files
committed
Revert "Docsp-49013 (#226) (#230)"
This reverts commit 0d65abb.
1 parent 0d65abb commit 05c4e26

10 files changed

+36
-54
lines changed

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

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

52-
.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst
53-
54-
.. replacement:: installation-guide
55-
56-
:ref:`Add the Driver Bill of Materials <kotlin-get-started-install-bom>` step of the Quick Start guide.
57-
5852
Select from the following tabs to see how to add the extension
5953
dependency to your project by using the :guilabel:`Gradle` and
6054
:guilabel:`Maven` package managers:
@@ -70,7 +64,7 @@ dependency to your project by using the :guilabel:`Gradle` and
7064
.. code-block:: kotlin
7165
:caption: build.gradle.kts
7266

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

7569
.. tab::
7670
:tabid: Maven
@@ -84,6 +78,7 @@ dependency to your project by using the :guilabel:`Gradle` and
8478
<dependency>
8579
<groupId>org.mongodb</groupId>
8680
<artifactId>mongodb-driver-kotlin-extensions</artifactId>
81+
<version>{+full-version+}</version>
8782
</dependency>
8883

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

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ 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-
:ref:`Add the Driver Bill of Materials <kotlin-get-started-install-bom>` step of the Quick Start guide.
68-
6963
We recommend that you use the `Maven <https://maven.apache.org/>`__ or
7064
`Gradle <https://gradle.org/>`__ build automation tool to manage your project's
7165
dependencies. Select from the following tabs to see the dependency declaration

source/fundamentals/data-formats/serialization.txt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ Add {+language+} Serialization to Your Project
6060
Support for serialization in the {+driver-short+} depends on the official `Kotlin
6161
serialization library <https://github.com/Kotlin/kotlinx.serialization>`__.
6262

63-
.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst
64-
65-
.. replacement:: installation-guide
66-
67-
:ref:`Add the Driver Bill of Materials <kotlin-get-started-install-bom>` step of the Quick Start guide.
68-
6963
Select from the following tabs to see how to add the serialization
7064
dependencies to your project by using the :guilabel:`Gradle` and
7165
:guilabel:`Maven` package managers:
@@ -82,7 +76,7 @@ dependencies to your project by using the :guilabel:`Gradle` and
8276
:caption: build.gradle.kts
8377

8478
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:{+serializationVersion+}")
85-
implementation("org.mongodb:bson-kotlinx")
79+
implementation("org.mongodb:bson-kotlinx:{+full-version+}")
8680

8781
.. tab::
8882
:tabid: Maven
@@ -101,6 +95,7 @@ dependencies to your project by using the :guilabel:`Gradle` and
10195
<dependency>
10296
<groupId>org.mongodb</groupId>
10397
<artifactId>bson-kotlinx</artifactId>
98+
<version>{+full-version+}</version>
10499
</dependency>
105100

106101
.. _kotlin-data-class-annotation:
@@ -196,7 +191,7 @@ add the dependency to your project by using the :guilabel:`Gradle` and
196191
.. code-block:: kotlin
197192
:caption: build.gradle.kts
198193

199-
implementation("org.mongodb:bson-kotlinx")
194+
implementation("org.mongodb:bson-kotlinx:{+full-version+}")
200195

201196
.. tab::
202197
:tabid: Maven
@@ -210,6 +205,7 @@ add the dependency to your project by using the :guilabel:`Gradle` and
210205
<dependency>
211206
<groupId>org.jetbrains.kotlinx</groupId>
212207
<artifactId>bson-kotlinx</artifactId>
208+
<version>{+full-version+}</version>
213209
</dependency>
214210

215211
.. note:: bson-kotlin Dependency

source/fundamentals/encrypt-fields.txt

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,25 @@
44

55
.. replacement:: driver-specific-content
66

7-
Compatible Encryption Library Version
8-
-------------------------------------
9-
10-
The {+driver-short+} uses the `mongodb-crypt
11-
<https://mvnrepository.com/artifact/org.mongodb/mongodb-crypt>`__
12-
encryption library for in-use encryption. This driver version
13-
is compatible with ``mongodb-crypt`` v{+mongocrypt-version+}.
14-
15-
.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst
16-
17-
.. replacement:: installation-guide
18-
19-
:ref:`Add the Driver Bill of Materials <kotlin-get-started-install-bom>` step of the Quick Start guide.
20-
21-
Select from the following :guilabel:`Maven` and
22-
:guilabel:`Gradle` tabs to see how to add the ``mongodb-crypt``
23-
dependency to your project by using the specified manager:
24-
25-
.. tabs::
26-
27-
.. tab:: Maven
28-
:tabid: maven-dependency
29-
30-
.. include:: /includes/fundamentals/code-snippets/crypt-maven-versioned.rst
31-
32-
.. tab:: Gradle
33-
:tabid: gradle-dependency
34-
35-
.. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
7+
.. important:: Compatible Encryption Library Version
8+
9+
The {+driver-short+} uses the `mongodb-crypt
10+
<https://mvnrepository.com/artifact/org.mongodb/mongodb-crypt>`__
11+
encryption library for in-use encryption. This driver version
12+
is compatible with ``mongodb-crypt`` v{+mongocrypt-version+}.
13+
14+
Select from the following :guilabel:`Maven` and
15+
:guilabel:`Gradle` tabs to see how to add the ``mongodb-crypt``
16+
dependency to your project by using the specified manager:
17+
18+
.. tabs::
19+
20+
.. tab:: Maven
21+
:tabid: maven-dependency
22+
23+
.. include:: /includes/fundamentals/code-snippets/crypt-maven-versioned.rst
24+
25+
.. tab:: Gradle
26+
:tabid: gradle-dependency
27+
28+
.. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. code-block:: kotlin
22
33
dependencies {
4-
implementation("org.mongodb:bson")
4+
implementation("org.mongodb:bson:{+full-version+}")
55
}
66

source/includes/fundamentals/code-snippets/bson-maven-versioned.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<dependency>
55
<groupId>org.mongodb</groupId>
66
<artifactId>bson</artifactId>
7+
<version>{+full-version+}</version>
78
</dependency>
89
</dependencies>
910
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. code-block:: groovy
22
33
dependencies {
4-
implementation("org.mongodb:mongodb-crypt")
4+
implementation("org.mongodb:mongodb-crypt:{+mongocrypt-version+}")
55
}

source/includes/fundamentals/code-snippets/crypt-maven-versioned.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
<dependency>
55
<groupId>org.mongodb</groupId>
66
<artifactId>mongodb-crypt</artifactId>
7+
<version>{+mongocrypt-version+}</version>
78
</dependency>
89
</dependencies>

source/includes/serialization-libs-gradle-versioned.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:caption: build.gradle.kts
33
:copyable: true
44
5-
implementation("org.mongodb:bson-kotlinx")
5+
implementation("org.mongodb:bson-kotlinx:{+full-version+}")
66
// OR
7-
implementation("org.mongodb:bson-kotlin")
7+
implementation("org.mongodb:bson-kotlin:{+full-version+}")
88

source/includes/serialization-libs-maven-versioned.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
<dependency>
66
<groupId>org.mongodb</groupId>
77
<artifactId>bson-kotlinx</artifactId>
8+
<version>{+full-version+}</version>
89
</dependency>
910
<!--OR-->
1011
<dependency>
1112
<groupId>org.mongodb</groupId>
1213
<artifactId>bson-kotlin</artifactId>
14+
<version>{+full-version+}</version>
1315
</dependency>
1416

0 commit comments

Comments
 (0)