Skip to content

Commit 10fdc90

Browse files
committed
properly depend on httpclient
1 parent d8caa62 commit 10fdc90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-perf/firebase-perf.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ android {
4747
abortOnError true
4848
}
4949

50+
useLibrary 'org.apache.http.legacy'
51+
5052
defaultConfig {
5153
// Note: To control the values of the auto-generated BuildConfig.java file (or any static
5254
// final field) in the Unit Test (with ReflectionHelpers.setStaticField()) we need to avoid
@@ -110,7 +112,6 @@ dependencies {
110112

111113
// 3rd Party Deps
112114
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
113-
compileOnly group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
114115
implementation 'com.google.dagger:dagger:2.27'
115116
annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
116117

@@ -122,7 +123,6 @@ dependencies {
122123
exclude group: 'com.google.protobuf', module: 'protobuf-java'
123124
}
124125
testImplementation "com.google.truth:truth:$googleTruthVersion"
125-
testImplementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
126126
testImplementation 'androidx.test:core:1.2.0'
127127
testImplementation 'androidx.test:rules:1.2.0'
128128
}

0 commit comments

Comments
 (0)