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 62a746a  [BEAM-10961] enable strict dependency checking for 
sdks/java/io/mqtt
     new a7a7d5f  Merge pull request #14061 from sonam-vend/sdks-io-mqtt
62a746a is described below

commit 62a746a7c7d018e8b5793c0bbea1723ba83ea522
Author: Shehzaad Nakhoda <[email protected]>
AuthorDate: Wed Feb 24 02:19:10 2021 -0800

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

diff --git a/sdks/java/io/mqtt/build.gradle b/sdks/java/io/mqtt/build.gradle
index a384274..ea6ecd9 100644
--- a/sdks/java/io/mqtt/build.gradle
+++ b/sdks/java/io/mqtt/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.mqtt')
+applyJavaNature(enableStrictDependencies: true, automaticModuleName: 
'org.apache.beam.sdk.io.mqtt')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: MQTT"
 ext.summary = "IO to read and write to a MQTT broker."
@@ -34,8 +34,6 @@ dependencies {
   testCompile library.java.activemq_mqtt
   testCompile library.java.activemq_kahadb_store
   testCompile library.java.junit
-  testCompile library.java.hamcrest_core
-  testCompile library.java.hamcrest_library
   testRuntimeOnly library.java.slf4j_jdk14
   testRuntimeOnly project(path: ":runners:direct-java", configuration: 
"shadow")
 }

Reply via email to