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 4092b72 [BEAM-10961] enable strict dependency checking for
sdks/java/extensions/protobuf
new 162c7f6 Merge pull request #14089 from
sonam-vend/sdks-extensions-protobuf
4092b72 is described below
commit 4092b72e922eedad735353cf2ceeab9429444ee1
Author: Shehzaad Nakhoda <[email protected]>
AuthorDate: Thu Feb 25 12:18:04 2021 -0800
[BEAM-10961] enable strict dependency checking for
sdks/java/extensions/protobuf
---
sdks/java/extensions/protobuf/build.gradle | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sdks/java/extensions/protobuf/build.gradle
b/sdks/java/extensions/protobuf/build.gradle
index 1ed48f3..4571e71 100644
--- a/sdks/java/extensions/protobuf/build.gradle
+++ b/sdks/java/extensions/protobuf/build.gradle
@@ -18,6 +18,7 @@
plugins { id 'org.apache.beam.module' }
applyJavaNature(
+ enableStrictDependencies: true,
generatedClassPatterns: [
/^org\.apache\.beam\.sdk\.extensions\.protobuf\.PayloadMessages/,
/^org\.apache\.beam\.sdk\.extensions\.protobuf\.Proto2CoderTestMessages/,
@@ -33,13 +34,11 @@ description = "Apache Beam :: SDKs :: Java :: Extensions ::
Protobuf"
ext.summary = "Add support to Apache Beam for Google Protobuf."
dependencies {
+ compile library.java.vendored_bytebuddy_1_10_8
compile library.java.vendored_guava_26_0_jre
compile project(path: ":sdks:java:core", configuration: "shadow")
compile library.java.protobuf_java
testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
- testCompile library.java.hamcrest_core
- testCompile library.java.hamcrest_library
- testCompile library.java.mockito_core
testCompile library.java.junit
testRuntimeOnly library.java.slf4j_jdk14
}