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 13d584c  [BEAM-10961] enable strict dependency checking for 
sdks/java/extensions/join-library
     new 5f99ef4  Merge pull request #14086 from 
sonam-vend/sdks-extensions-join-library
13d584c is described below

commit 13d584ccdb8271ef220a91e3f9fba25133c47a91
Author: Shehzaad Nakhoda <[email protected]>
AuthorDate: Thu Feb 25 12:08:21 2021 -0800

    [BEAM-10961] enable strict dependency checking for 
sdks/java/extensions/join-library
---
 sdks/java/extensions/join-library/build.gradle | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sdks/java/extensions/join-library/build.gradle 
b/sdks/java/extensions/join-library/build.gradle
index 1257f8f..45255c3 100644
--- a/sdks/java/extensions/join-library/build.gradle
+++ b/sdks/java/extensions/join-library/build.gradle
@@ -17,15 +17,16 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(automaticModuleName: 
'org.apache.beam.sdk.extensions.joinlibrary')
+applyJavaNature(
+  enableStrictDependencies: true,
+  automaticModuleName: 'org.apache.beam.sdk.extensions.joinlibrary'
+)
 
 description = "Apache Beam :: SDKs :: Java :: Extensions :: Join library"
 
 dependencies {
   compile library.java.vendored_guava_26_0_jre
   compile project(path: ":sdks:java:core", configuration: "shadow")
-  testCompile library.java.hamcrest_core
-  testCompile library.java.hamcrest_library
   testCompile library.java.junit
   testRuntimeOnly project(path: ":runners:direct-java", configuration: 
"shadow")
 }

Reply via email to