Skip to content

Commit f710378

Browse files
committed
DOCSP-49013 BOM Tips added to Java RS (#136)
(cherry picked from commit 3fcf374)
1 parent a28f6d6 commit f710378

File tree

3 files changed

+30
-24
lines changed

3 files changed

+30
-24
lines changed
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:{+full-version+}'
4+
implementation 'org.mongodb:mongodb-crypt'
55
}

source/includes/security/crypt-maven-versioned.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
<dependency>
55
<groupId>org.mongodb</groupId>
66
<artifactId>mongodb-crypt</artifactId>
7-
<version>{+full-version+}</version>
87
</dependency>
98
</dependencies>

source/security/encrypt.txt

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

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

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{+full-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/security/crypt-maven-versioned.rst
24-
25-
.. tab:: Gradle
26-
:tabid: gradle-dependency
27-
28-
.. include:: /includes/security/crypt-gradle-versioned.rst
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{+full-version+}.
14+
15+
.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst
16+
17+
.. replacement:: installation-guide
18+
19+
:ref:`Add the Driver Bill of Materials <java-rs-get-started-install-bom>` step of the Download and Install 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/security/crypt-maven-versioned.rst
31+
32+
.. tab:: Gradle
33+
:tabid: gradle-dependency
34+
35+
.. include:: /includes/security/crypt-gradle-versioned.rst

0 commit comments

Comments
 (0)