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

Commit ee66e8e5 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Dependencies: explicitly declare okio 2.+; don't declare xpp dependency

parent 7f0e605d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -24,6 +24,10 @@ You can use [jitpack.io to include dav4jvm](https://jitpack.io/#com.gitlab.bitfi
        implementation 'com.gitlab.bitfireAT:dav4jvm:master-SNAPSHOT'
    }

dav4jvm needs a working XmlPullParser (XPP). On Android, the system already comes with
XPP and you don't need to include one; on other systems, you may need to
import for instance `org.ogce:xpp3` to get dav4jvm to work.


## Contact / License

+7 −6
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ object Libs {

group="com.gitlab.bitfireAT"

repositories {
    jcenter()
}

plugins {
    kotlin("jvm") version "1.3.50"

@@ -20,17 +24,14 @@ plugins {
    maven
}

repositories {
    jcenter()
}

dependencies {
    implementation(kotlin("stdlib"))

    api("com.squareup.okio:okio:2.+")       // use Kotlin-friendly okhttp 2.x
    // use Kotlin-friendly okhttp 2.x
    implementation("com.squareup.okio:okio:2.+")
    api("com.squareup.okhttp3:okhttp:${Libs.okhttpVersion}")

    implementation("org.ogce:xpp3:${Libs.xpp3Version}")
    api("org.ogce:xpp3:${Libs.xpp3Version}")

    testImplementation("com.squareup.okhttp3:mockwebserver:${Libs.okhttpVersion}")
}