Skip to content

Commit 65606f5

Browse files
authored
Docs: Gradle examples use implementation, not compile
compile was removed in Gradle 7 see: https://docs.gradle.org/current/userguide/upgrading_version_6.html#sec:configuration_removal
1 parent 71acf9b commit 65606f5

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

4.7/bson/installation-guide/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ <h2 id="bson">BSON</h2>
358358
<section class="gradle hidden">
359359
<pre><code>
360360
dependencies {
361-
compile 'org.mongodb:bson:4.3.0'
361+
implementation 'org.mongodb:bson:4.3.0'
362362
}
363363

364364
</code></pre>

4.7/driver-reactive/getting-started/installation/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ <h2 id="mongodb-reactive-streams-driver">MongoDB Reactive Streams Driver</h2>
350350
<section class="gradle hidden">
351351
<pre><code>
352352
dependencies {
353-
compile 'org.mongodb:mongodb-driver-reactivestreams:4.7.0'
353+
implementation 'org.mongodb:mongodb-driver-reactivestreams:4.7.0'
354354
}
355355

356356
</code></pre>

4.7/driver-reactive/tutorials/client-side-encryption/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ <h3 id="libmongocrypt">libmongocrypt</h3>
368368
<section class="gradle hidden">
369369
<pre><code>
370370
dependencies {
371-
compile 'org.mongodb:mongodb-crypt:1.2.1'
371+
implementation 'org.mongodb:mongodb-crypt:1.2.1'
372372
}
373373

374374
</code></pre>

4.7/driver-scala/getting-started/installation/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ <h3 id="scala-2-12">Scala 2.12</h3>
352352
<section class="gradle hidden">
353353
<pre><code>
354354
dependencies {
355-
compile 'org.mongodb.scala:mongo-scala-driver:4.7.0_2.12'
355+
implementation 'org.mongodb.scala:mongo-scala-driver:4.7.0_2.12'
356356
}
357357

358358
</code></pre>
@@ -379,7 +379,7 @@ <h3 id="scala-2-11">Scala 2.11</h3>
379379
<section class="gradle hidden">
380380
<pre><code>
381381
dependencies {
382-
compile 'org.mongodb.scala:mongo-scala-driver:4.7.0_2.11'
382+
implementation 'org.mongodb.scala:mongo-scala-driver:4.7.0_2.11'
383383
}
384384

385385
</code></pre>

4.7/driver-scala/tutorials/client-side-encryption/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ <h3 id="libmongocrypt">libmongocrypt</h3>
368368
<section class="gradle hidden">
369369
<pre><code>
370370
dependencies {
371-
compile 'org.mongodb:mongodb-crypt:1.2.1'
371+
implementation 'org.mongodb:mongodb-crypt:1.2.1'
372372
}
373373

374374
</code></pre>

4.7/driver/getting-started/installation/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ <h5 class="admonition-title">important</h5>
368368
<section class="gradle hidden">
369369
<pre><code>
370370
dependencies {
371-
compile 'org.mongodb:mongodb-driver-sync:4.3.0'
371+
implementation 'org.mongodb:mongodb-driver-sync:4.3.0'
372372
}
373373

374374
</code></pre>
@@ -405,7 +405,7 @@ <h5 class="admonition-title">important</h5>
405405
<section class="gradle hidden">
406406
<pre><code>
407407
dependencies {
408-
compile 'org.mongodb:mongodb-driver-legacy:4.3.0'
408+
implementation 'org.mongodb:mongodb-driver-legacy:4.3.0'
409409
}
410410

411411
</code></pre>

4.7/driver/tutorials/client-side-encryption/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ <h3 id="libmongocrypt">libmongocrypt</h3>
365365
<section class="gradle hidden">
366366
<pre><code>
367367
dependencies {
368-
compile 'org.mongodb:mongodb-crypt:1.2.1'
368+
implementation 'org.mongodb:mongodb-crypt:1.2.1'
369369
}
370370

371371
</code></pre>

0 commit comments

Comments
 (0)