You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2023/04/26 14:23:44 UTC

[beam] branch master updated: Set hamcrest and junit as provided for google-cloud-platform java sdk

This is an automated email from the ASF dual-hosted git repository.

yhu 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 d2f8f7bc18d Set hamcrest and junit as provided for google-cloud-platform java sdk
     new 6768ea359a5 Merge pull request #25713 from RustedBones/beam-gcp-test-lib-provided
d2f8f7bc18d is described below

commit d2f8f7bc18d2852eb4f47bad9c414532e1c0e1c2
Author: Michel Davit <mi...@davit.fr>
AuthorDate: Fri Mar 3 15:13:15 2023 +0100

    Set hamcrest and junit as provided for google-cloud-platform java sdk
---
 sdks/java/io/google-cloud-platform/build.gradle | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sdks/java/io/google-cloud-platform/build.gradle b/sdks/java/io/google-cloud-platform/build.gradle
index 1c50bb98fe1..8fd0bd83d84 100644
--- a/sdks/java/io/google-cloud-platform/build.gradle
+++ b/sdks/java/io/google-cloud-platform/build.gradle
@@ -115,9 +115,8 @@ dependencies {
   implementation library.java.grpc_google_cloud_pubsublite_v1
   permitUnusedDeclared library.java.grpc_google_cloud_pubsublite_v1 // BEAM-11761
   implementation library.java.guava
-  implementation library.java.hamcrest
   implementation library.java.http_client
-  implementation library.java.hamcrest
+  provided library.java.hamcrest
   permitUnusedDeclared library.java.hamcrest // BEAM-11761
   implementation library.java.http_core
   implementation library.java.jackson_core
@@ -125,7 +124,7 @@ dependencies {
   implementation library.java.jackson_datatype_joda
   implementation library.java.jackson_datatype_jsr310
   implementation library.java.joda_time
-  implementation library.java.junit
+  provided library.java.junit
   implementation library.java.netty_handler
   implementation library.java.netty_tcnative_boringssl_static
   permitUnusedDeclared library.java.netty_tcnative_boringssl_static // BEAM-11761