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 e4e7d65  [BEAM-10961] enable strict dependency checking for 
sdks/java/io/solr
     new a775022  Merge pull request #14063 from sonam-vend/sdks-io-solr
e4e7d65 is described below

commit e4e7d65a4fe785ef8a22609752a18ea7beef4a8a
Author: Shehzaad Nakhoda <shehz...@venturedive.com>
AuthorDate: Wed Feb 24 03:28:43 2021 -0800

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

diff --git a/sdks/java/io/solr/build.gradle b/sdks/java/io/solr/build.gradle
index 33a9b5c..fb43163 100644
--- a/sdks/java/io/solr/build.gradle
+++ b/sdks/java/io/solr/build.gradle
@@ -18,6 +18,7 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
+  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.io.solr',
 )
 
@@ -30,12 +31,11 @@ dependencies {
   compile library.java.vendored_guava_26_0_jre
   compile project(path: ":sdks:java:core", configuration: "shadow")
   compile library.java.commons_compress
+  compile library.java.joda_time
+  compile library.java.slf4j_api
   compile "org.apache.solr:solr-solrj:$solrVersion"
-  compileOnly "org.apache.httpcomponents:httpclient:4.5.6"
   testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
   testCompile project(":sdks:java:io:common")
-  testCompile library.java.hamcrest_core
-  testCompile library.java.hamcrest_library
   testCompile library.java.junit
   testCompile library.java.slf4j_api
   testCompile "org.apache.solr:solr-test-framework:$solrVersion"

Reply via email to