Skip to content

Commit 2183231

Browse files
* Downgraded okhttp version to support Api 19 devices
1 parent 8cd6968 commit 2183231

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

app/build.gradle

Lines changed: 4 additions & 2 deletions
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"

gradle.properties

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,16 @@
1616
org.gradle.jvmargs=-Xmx1536M
1717
android.enableBuildCache=true
1818

19-
KOTLIN_VERSION=1.3.72
19+
KOTLIN_VERSION=1.3.21
2020
BUTTERKNIFE_VERSION=10.1.0
2121
LEAK_CANARY_VERSION=1.6.2
2222
DAGGER_VERSION=2.21
2323
ROOM_VERSION=2.2.3
2424
PREFERENCE_VERSION=1.1.0
25-
CORE_KTX_VERSION=1.2.0
26-
ADAPTER_DELEGATES_VERSION=4.3.0
27-
PAGING_VERSION=2.1.2
28-
MULTIDEX_VERSION=2.0.1
2925
OKHTTP_VERSION=3.12.1
3026

3127
systemProp.http.proxyPort=0
3228
systemProp.http.proxyHost=
3329
android.useAndroidX=true
3430
android.enableJetifier=true
35-
android.enableR8=false
31+
android.enableR8=false

0 commit comments

Comments
 (0)