Skip to content

Library v2: what changed & why #371

Description

@tobiasKaminsky

I started a while a go to slowly to use OkHTTP and DAV4jvm by BitfireAT.

This introduces some changes, that any project using this lib should be aware of

  • change build.gradle
    • add to android {…}: compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
      }

    • add to dependencies {…}:
      implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2

    • add to AndroidManifest.xml:

             android:name="org.apache.http.legacy"
             android:required="false"/>```
      
      
  • NextcloudClient is used instead of OwnCloudClient for rewritten remote operations

If you need any help or if there questions, just reply here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions