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 2f7578d  [BEAM-10961] enable strict dependency checking for 
sdks/java/extensions/sketching
     new 4502376  Merge pull request #14091 from 
sonam-vend/sdks-extensions-sketching
2f7578d is described below

commit 2f7578d4bd43d1ef5a86c87d996540b5f73189b4
Author: Shehzaad Nakhoda <shehz...@venturedive.com>
AuthorDate: Thu Feb 25 12:25:05 2021 -0800

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

diff --git a/sdks/java/extensions/sketching/build.gradle 
b/sdks/java/extensions/sketching/build.gradle
index 84e6f29..83a93f6 100644
--- a/sdks/java/extensions/sketching/build.gradle
+++ b/sdks/java/extensions/sketching/build.gradle
@@ -18,6 +18,7 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
+  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sketching')
 
 description = "Apache Beam :: SDKs :: Java :: Extensions :: Sketching"
@@ -30,11 +31,8 @@ dependencies {
   compile project(path: ":sdks:java:core", configuration: "shadow")
   compile "com.clearspring.analytics:stream:$streamlib_version"
   compile "com.tdunning:t-digest:$tdigest_version"
-  compile library.java.slf4j_api
   testCompile library.java.avro
   testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
-  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