Skip to content

Commit 09623a4

Browse files
* Downgraded okhttp version to support Api 19 devices
1 parent bdc8440 commit 09623a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/build.gradle

+4-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ dependencies {
2121
implementation 'com.github.nicolas-raoul:Quadtree:ac16ea8035bf07'
2222
implementation 'in.yuvi:http.fluent:1.3'
2323
implementation 'com.google.code.gson:gson:2.8.5'
24-
implementation 'com.squareup.okhttp3:okhttp:4.2.0'
24+
implementation ("com.squareup.okhttp3:okhttp:$OKHTTP_VERSION"){
25+
force = true //API 19 support
26+
}
2527
implementation 'com.squareup.okio:okio:2.2.2'
2628
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
2729
implementation 'io.reactivex.rxjava2:rxjava:2.2.3'
@@ -53,7 +55,7 @@ dependencies {
5355
api('com.github.tony19:logback-android-classic:1.1.1-6') {
5456
exclude group: 'com.google.android', module: 'android'
5557
}
56-
implementation "com.squareup.okhttp3:logging-interceptor:4.2.0"
58+
implementation "com.squareup.okhttp3:logging-interceptor:$OKHTTP_VERSION"
5759

5860
// Dependency injector
5961
implementation "com.google.dagger:dagger-android-support:$DAGGER_VERSION"

0 commit comments

Comments
 (0)