From 8a2793b388243022c1570c6fee185b7fdd51dd34 Mon Sep 17 00:00:00 2001 From: Shehzaad Nakhoda Date: Wed, 24 Feb 2021 03:55:33 -0800 Subject: [PATCH 1/2] [BEAM-10961] enable strict dependency checking for sdks/java/io/thrift --- sdks/java/io/thrift/build.gradle | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdks/java/io/thrift/build.gradle b/sdks/java/io/thrift/build.gradle index 46535e066c16..a953b5cc8c85 100644 --- a/sdks/java/io/thrift/build.gradle +++ b/sdks/java/io/thrift/build.gradle @@ -21,6 +21,7 @@ plugins { // id "org.jruyi.thrift" version "0.4.1" } applyJavaNature( + enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.thrift', generatedClassPatterns: [ /^org\.apache\.beam\.sdk\.io\.thrift\.payloads.*/, @@ -40,11 +41,6 @@ dependencies { compile "org.apache.thrift:libthrift:0.13.0" compile project(path: ":sdks:java:core", configuration: "shadow") testCompile library.java.junit - testCompile library.java.hamcrest_core - testCompile library.java.hamcrest_library - testCompile library.java.jackson_databind - testCompile "com.google.code.gson:gson:2.8.6" - testCompile "commons-io:commons-io:2.6" testRuntimeOnly library.java.slf4j_jdk14 testRuntimeOnly project(path: ":runners:direct-java", configuration: "shadow") } From 44b19f43c9c3e57093109cb74e4010314171c67a Mon Sep 17 00:00:00 2001 From: Shehzaad Nakhoda Date: Wed, 24 Feb 2021 15:24:55 -0800 Subject: [PATCH 2/2] trigger build