Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Document used okhttp version

parent 02324ca6
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line

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}")
}