Commit 7dee8547 authored by Ricki Hirner's avatar Ricki Hirner

Document used okhttp version

parent 02324ca6
Pipeline #46412642 passed with stages
in 3 minutes and 9 seconds
object Libs {
// okhttp HTTP library
// We'll use 3.12 for now, but this branch won't receive feature updates anymore. Security
// updates are limited to Dec 2020, so we'll have to update to 3.13 until then. On Android,
// using 3.13 will raise the required SDK level to Android 5.
const val okhttpVersion = "3.12.1"
// XmlPullParser library
const val xpp3Version = "1.1.6"
}
......@@ -18,9 +24,10 @@ repositories {
dependencies {
implementation(kotlin("stdlib"))
api("com.squareup.okio:okio:2.+")
api("com.squareup.okio:okio:2.+") // use Kotlin-friendly okhttp 2.x
api("com.squareup.okhttp3:okhttp:${Libs.okhttpVersion}")
implementation("org.ogce:xpp3:${Libs.xpp3Version}") // XmlPullParser
implementation("org.ogce:xpp3:${Libs.xpp3Version}")
testImplementation("com.squareup.okhttp3:mockwebserver:${Libs.okhttpVersion}")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment