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 4babed4  [BEAM-10961] enable strict dependency checking for 
sdks/java/io/tika
     new 3ffd233  Merge pull request #14067 from sonam-vend/sdks-io-tika
4babed4 is described below

commit 4babed41d67e03f530ca511890b58dda3248ee9d
Author: Shehzaad Nakhoda <shehz...@venturedive.com>
AuthorDate: Wed Feb 24 04:08:08 2021 -0800

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

diff --git a/sdks/java/io/tika/build.gradle b/sdks/java/io/tika/build.gradle
index 28c6c62..e233e43 100644
--- a/sdks/java/io/tika/build.gradle
+++ b/sdks/java/io/tika/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.tika')
+applyJavaNature(enableStrictDependencies: true, automaticModuleName: 
'org.apache.beam.sdk.io.tika')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Tika"
 ext.summary = "Tika Input to parse files."
@@ -27,13 +27,10 @@ def bndlib_version = "1.43.0"
 
 dependencies {
   compile library.java.vendored_guava_26_0_jre
-  compileOnly "biz.aQute:bndlib:$bndlib_version"
   compile project(path: ":sdks:java:core", configuration: "shadow")
   compile "org.apache.tika:tika-core:$tika_version"
   testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
   testCompile library.java.junit
-  testCompile library.java.hamcrest_core
-  testCompile library.java.hamcrest_library
   testCompile "org.apache.tika:tika-parsers:$tika_version"
   testCompileOnly "biz.aQute:bndlib:$bndlib_version"
   testRuntimeOnly project(path: ":runners:direct-java", configuration: 
"shadow")

Reply via email to