This is an automated email from the ASF dual-hosted git repository.

ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new ce5a400  [BEAM-10961] enable strict dependency checking for 
sdks/java/io/synthetic
     new d1439aa  Merge pull request #14065 from sonam-vend/sdks-io-synthetic
ce5a400 is described below

commit ce5a40091917a2eed2dc448b0f01051afa06c26f
Author: Shehzaad Nakhoda <shehz...@venturedive.com>
AuthorDate: Wed Feb 24 03:47:38 2021 -0800

    [BEAM-10961] enable strict dependency checking for sdks/java/io/synthetic
---
 sdks/java/io/synthetic/build.gradle | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sdks/java/io/synthetic/build.gradle 
b/sdks/java/io/synthetic/build.gradle
index cb9cbf8..68d916f 100644
--- a/sdks/java/io/synthetic/build.gradle
+++ b/sdks/java/io/synthetic/build.gradle
@@ -18,6 +18,7 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
+  enableStrictDependencies: true,
   exportJavadoc: false,
   automaticModuleName: 'org.apache.beam.sdk.io.synthetic',
 )
@@ -31,11 +32,11 @@ dependencies {
   compile library.java.jackson_core
   compile library.java.jackson_annotations
   compile library.java.jackson_databind
+  compile library.java.slf4j_api
+  compile library.java.vendored_guava_26_0_jre
   compile project(path: ":sdks:java:core", configuration: "shadow")
 
   testCompile library.java.vendored_guava_26_0_jre
   testCompile library.java.junit
-  testCompile library.java.hamcrest_core
-  testCompile library.java.hamcrest_library
   testRuntimeOnly project(path: ":runners:direct-java", configuration: 
"shadow")
 }

Reply via email to