From 3919ba03bfb866c656505df31861c069dac4e743 Mon Sep 17 00:00:00 2001 From: Piotr Kubowicz Date: Thu, 30 Jan 2025 09:30:22 +0100 Subject: [PATCH] Change dependencies from implementation to api Those are not 'implementation' dependencies, because they are used in return type of public methods: - asynchttpclient in PusherAsync.configureHttpClient - gson in PusherAbstract.setGsonSerialiser - httpclient in Pusher.configureHttpClient --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index d424e2b..9254516 100644 --- a/build.gradle +++ b/build.gradle @@ -35,9 +35,9 @@ java { } dependencies { - implementation 'org.apache.httpcomponents:httpclient:4.5.13' - implementation 'org.asynchttpclient:async-http-client:3.0.1' - implementation 'com.google.code.gson:gson:2.8.9' + api 'org.apache.httpcomponents:httpclient:4.5.13' + api 'org.asynchttpclient:async-http-client:3.0.1' + api 'com.google.code.gson:gson:2.8.9' testImplementation 'org.apache.httpcomponents:httpclient:4.5.13' testImplementation 'org.hamcrest:hamcrest-all:1.3' testImplementation 'org.jmock:jmock-junit5:2.12.0'