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 a955dcc [BEAM-10961] enable strict dependency checking for
sdks/java/io/splunk
new 8d5428a Merge pull request #14064 from sonam-vend/sdks-io-splunk
a955dcc is described below
commit a955dccc912f3187d646039005ce13ee4cb7d076
Author: Shehzaad Nakhoda <[email protected]>
AuthorDate: Wed Feb 24 03:38:40 2021 -0800
[BEAM-10961] enable strict dependency checking for sdks/java/io/splunk
---
sdks/java/io/splunk/build.gradle | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/sdks/java/io/splunk/build.gradle b/sdks/java/io/splunk/build.gradle
index a8a31b7..5e47d0e 100644
--- a/sdks/java/io/splunk/build.gradle
+++ b/sdks/java/io/splunk/build.gradle
@@ -19,18 +19,24 @@
plugins {
id 'org.apache.beam.module'
}
-applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.splunk')
+applyJavaNature(enableStrictDependencies: true, automaticModuleName:
'org.apache.beam.sdk.io.splunk')
description = "Apache Beam :: SDKs :: Java :: IO :: Splunk"
ext.summary = "IO to write events to Splunk Http Event Collector (HEC)"
dependencies {
compile platform(library.java.google_cloud_platform_libraries_bom)
- compile library.java.slf4j_api
+ compile project(path: ":sdks:java:core", configuration: "shadow")
compile library.java.google_api_client
+ permitUnusedDeclared library.java.google_api_client // BEAM-11761
compile library.java.google_http_client_apache_v2
compile library.java.google_code_gson
- compile project(path: ":sdks:java:core", configuration: "shadow")
+ compile library.java.google_http_client
+ compile library.java.http_client
+ compile library.java.http_core
+ compile library.java.joda_time
+ compile library.java.slf4j_api
+ compile library.java.vendored_guava_26_0_jre
testCompile library.java.junit
testCompile group: 'org.mock-server', name: 'mockserver-junit-rule',
version: '5.10.0'
testCompile group: 'org.mock-server', name: 'mockserver-client-java',
version: '5.10.0'