You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ib...@apache.org on 2021/03/11 18:31:14 UTC

[beam] branch master updated: [BEAM-10961] enable strict dependency checking for sdks/java/io/debezium

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 0316e1c  [BEAM-10961] enable strict dependency checking for sdks/java/io/debezium
     new 0ab3036  Merge pull request #14194 from sonam-vend/sdks-io-debezium
0316e1c is described below

commit 0316e1c226fe838c01a80e5edd25c42f510090e2
Author: Shehzaad Nakhoda <sh...@venturedive.com>
AuthorDate: Wed Mar 10 18:39:10 2021 -0800

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

diff --git a/sdks/java/io/debezium/build.gradle b/sdks/java/io/debezium/build.gradle
index 2eb41b5..ff7e810 100644
--- a/sdks/java/io/debezium/build.gradle
+++ b/sdks/java/io/debezium/build.gradle
@@ -19,7 +19,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-        enableStrictDependencies: false,
         automaticModuleName: 'org.apache.beam.sdk.io.debezium',
         mavenRepositories: [
                 [id: 'io.confluent', url: 'https://packages.confluent.io/maven/']
@@ -33,6 +32,7 @@ ext.summary = "Library to work with Debezium data."
 
 dependencies {
     compile library.java.vendored_guava_26_0_jre
+    compile library.java.vendored_grpc_1_26_0
     compile project(path: ":sdks:java:core", configuration: "shadow")
     compile library.java.slf4j_api
     compile library.java.joda_time
@@ -51,6 +51,7 @@ dependencies {
     // Kafka connect dependencies
     compile "org.apache.kafka:connect-api:2.5.0"
     compile "org.apache.kafka:connect-json:2.5.0"
+    permitUnusedDeclared "org.apache.kafka:connect-json:2.5.0" // BEAM-11761
 
     // Debezium dependencies
     compile group: 'io.debezium', name: 'debezium-core', version: '1.3.1.Final'