Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Library v2: what changed & why #371

Open
@tobiasKaminsky

Description

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.

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

        AltStyle によって変換されたページ (->オリジナル) /