File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed
includes/fundamentals/code-snippets Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1
1
.. _java-fle:
2
2
3
3
.. sharedinclude:: dbx/encrypt-fields.rst
4
+
5
+ .. replacement:: driver-specific-content
6
+
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
Original file line number Diff line number Diff line change
1
+ .. code-block :: groovy
2
+
3
+ dependencies {
4
+ implementation 'org.mongodb:mongodb-crypt:{+mongocrypt-version+}'
5
+ }
Original file line number Diff line number Diff line change
1
+ .. code-block :: xml
2
+
3
+ <dependencies >
4
+ <dependency >
5
+ <groupId >org.mongodb</groupId >
6
+ <artifactId >mongodb-crypt</artifactId >
7
+ <version >{+mongocrypt-version+}</version >
8
+ </dependency >
9
+ </dependencies >
You can’t perform that action at this time.
0 commit comments