android-library icon indicating copy to clipboard operation
android-library copied to clipboard

Library v2: what changed & why

Open tobiasKaminsky opened this issue 5 years ago • 0 comments
trafficstars

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.

tobiasKaminsky avatar Dec 12 '19 08:12 tobiasKaminsky