Skip to content

Commit 57eea0c

Browse files
committed
fix(android): allow overriding version
> 3.13 dropped android , 5.0 For people wanting to support < 5.0 it is necessary to be able to use 3.12 https://medium.com/square-corner-blog/okhttp-3-13-requires-android-5-818bb78d07ce
1 parent 327177e commit 57eea0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dependencies {
2-
implementation 'com.squareup.okhttp3:okhttp:3.14.7'
2+
def okHttpVersion = project.hasProperty("okHttpVersion") ? project.okHttpVersion : "3.14.7"
3+
implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
34
}

0 commit comments

Comments
 (0)