Skip to content

Commit

Permalink
Merge pull request #13910 from sonam-vend/sdks-io-mongodb-driver-version
Browse files Browse the repository at this point in the history
[BEAM-10961] Make mongo-java-driver dependency a named variable
  • Loading branch information
ibzib committed Feb 9, 2021
2 parents 6edc333 + 827c938 commit 705649d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ class BeamModulePlugin implements Plugin<Project> {
kafka : "org.apache.kafka:kafka_2.11:$kafka_version",
kafka_clients : "org.apache.kafka:kafka-clients:$kafka_version",
mockito_core : "org.mockito:mockito-core:3.7.7",
mongo_java_driver : "org.mongodb:mongo-java-driver:3.12.7",
nemo_compiler_frontend_beam : "org.apache.nemo:nemo-compiler-frontend-beam:$nemo_version",
netty_all : "io.netty:netty-all:$netty_version",
netty_handler : "io.netty:netty-handler:$netty_version",
Expand Down
6 changes: 3 additions & 3 deletions sdks/java/io/mongodb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ description = "Apache Beam :: SDKs :: Java :: IO :: MongoDB"
ext.summary = "IO to read and write on MongoDB."

dependencies {
compile library.java.vendored_guava_26_0_jre
compile project(path: ":sdks:java:core", configuration: "shadow")
compile library.java.slf4j_api
compile library.java.joda_time
compile "org.mongodb:mongo-java-driver:3.12.7"
compile library.java.mongo_java_driver
compile library.java.slf4j_api
compile library.java.vendored_guava_26_0_jre
testCompile library.java.junit
testCompile project(path: ":sdks:java:io:common", configuration: "testRuntime")
testCompile project(path: ":sdks:java:testing:test-utils", configuration: "testRuntime")
Expand Down

0 comments on commit 705649d

Please sign in to comment.