Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library v2: what changed & why #371

Open
tobiasKaminsky opened this issue Dec 12, 2019 · 0 comments
Open

Library v2: what changed & why #371

tobiasKaminsky opened this issue Dec 12, 2019 · 0 comments

Comments

@tobiasKaminsky
Copy link
Member

tobiasKaminsky commented Dec 12, 2019

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.

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

No branches or pull requests

1 participant