Skip to content

Commit 5f87c57

Browse files
committed
Remove the org.apache http library
Replace with the built-in HttpUrlConnection
1 parent 75442c0 commit 5f87c57

File tree

6 files changed

+153
-197
lines changed

6 files changed

+153
-197
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ table below shows an example of what the data will look like in Sentry.
7070

7171
Version | Changes
7272
--- | ---
73-
**1.6.0** | Increase breadcrumb limit to 100 to match other Sentry clients, allow runtime configuration. [#117](https://github.com/joshdholtz/Sentry-Android/issues/117).
73+
**1.6.0** | Increase breadcrumb limit to 100 to match other Sentry clients, allow runtime configuration. [#117](https://github.com/joshdholtz/Sentry-Android/issues/117). <br/>Removed org.apache HTTP library [116](https://github.com/joshdholtz/Sentry-Android/pull/116).
7474
**1.5.4** | Ensure that breadcrumbs are added to all exceptions. [#115](https://github.com/joshdholtz/Sentry-Android/issues/115).
7575
**1.5.3** | Fix thread-safety bug when serializing breadcrumbs. [#110](https://github.com/joshdholtz/Sentry-Android/issues/110) (thanks to [fab1an](https://github.com/fab1an)).
7676
**1.5.2** | Send stack-frames to Sentry in the correct order. [#95](https://github.com/joshdholtz/Sentry-Android/pull/95).<br/> Use the [versionName](https://developer.android.com/studio/publish/versioning.html#appversioning), rather than versionCode, as the default value for the release field of events (thanks to [FelixBondarenko](https://github.com/FelixBondarenko)).

app/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ apply plugin: 'com.android.application'
33
android {
44
compileSdkVersion 24
55
buildToolsVersion "23.0.3"
6-
useLibrary 'org.apache.http.legacy'
76
defaultConfig {
87
applicationId 'com.joshdholtz.sentrytesting'
98
minSdkVersion 15

sentry-android/build.gradle

-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ android {
1111
compileSdkVersion 24
1212
buildToolsVersion "23.0.3"
1313

14-
useLibrary 'org.apache.http.legacy'
15-
1614
defaultConfig {
1715
minSdkVersion 3
1816
targetSdkVersion 24
@@ -31,7 +29,6 @@ android {
3129

3230
dependencies {
3331
compile fileTree(dir: 'libs', include: ['*.jar'])
34-
provided 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
3532
androidTestCompile 'com.google.guava:guava:19.0'
3633

3734
}

0 commit comments

Comments
 (0)