From a4949a22134bdcd18810e53c552ef7944d1636fa Mon Sep 17 00:00:00 2001 From: Maciej Walkowiak Date: Fri, 9 Apr 2021 13:45:22 +0200 Subject: [PATCH] Upgrade Apache HttpComponents Core to 5.0.3. (#1375) --- CHANGELOG.md | 1 + buildSrc/src/main/java/Config.kt | 2 ++ sentry-apache-http-client-5/build.gradle.kts | 2 ++ 3 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9891af65c..2a7d3b05c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Feat: Sentry closes Android NDK and ShutdownHook integrations (#1358) * Enhancement: Allow inheritance of SentryHandler class in sentry-jul package(#1367) * Fix: Accept only non null value maps (#1368) +* Bump: Upgrade Apache HttpComponents Core to 5.0.3 (#1375) * Enhancement: Make NoOpHub public (#1379) * Fix: Do not bind transactions to scope by default. (#1376) diff --git a/buildSrc/src/main/java/Config.kt b/buildSrc/src/main/java/Config.kt index ee6ff6b6d9..e0eecc32ed 100644 --- a/buildSrc/src/main/java/Config.kt +++ b/buildSrc/src/main/java/Config.kt @@ -74,6 +74,8 @@ object Config { val servletApi = "javax.servlet:javax.servlet-api" val apacheHttpClient = "org.apache.httpcomponents.client5:httpclient5:5.0.3" + val apacheHttpCore = "org.apache.httpcomponents.core5:httpcore5:5.0.3" + val apacheHttpCoreH2 = "org.apache.httpcomponents.core5:httpcore5-h2:5.0.3" private val retrofit2Version = "2.9.0" private val retrofit2Group = "com.squareup.retrofit2" diff --git a/sentry-apache-http-client-5/build.gradle.kts b/sentry-apache-http-client-5/build.gradle.kts index 672f1cbbfd..c86622b114 100644 --- a/sentry-apache-http-client-5/build.gradle.kts +++ b/sentry-apache-http-client-5/build.gradle.kts @@ -21,6 +21,8 @@ tasks.withType().configureEach { dependencies { api(project(":sentry")) api(Config.Libs.apacheHttpClient) + api(Config.Libs.apacheHttpCore) + api(Config.Libs.apacheHttpCoreH2) compileOnly(Config.CompileOnly.nopen) errorprone(Config.CompileOnly.nopenChecker)