Browse Source

Add legacy org apache lib for local development

This commit adds the org apache stub dependency that AndroidStudio used to use.

This is added as a "compileOnly" dependendency, so in not actually part of the build output
pull/653/head
Jedri Visser 1 year ago
parent
commit
fdcad7b428
  1. 5
      app/build.gradle
  2. BIN
      app/libs/org.apache.http.legacy.jar

5
app/build.gradle

@ -100,6 +100,11 @@ dependencies { @@ -100,6 +100,11 @@ dependencies {
}
implementation 'com.evernote:android-job:1.2.6'
// Copied From androidSdkPath/platforms/android-31/optional/org.apache.http.legacy.jar
// Using it as a compileOnly so this helps while developing, but is not compiled into the final
// app, see https://developer.android.com/studio/build/dependencies#dependency_configurations
compileOnly files('libs/org.apache.http.legacy.jar')
annotationProcessor 'org.androidannotations:androidannotations:4.7.0'
annotationProcessor 'org.androidannotations:ormlite:4.7.0'
}

BIN
app/libs/org.apache.http.legacy.jar

Binary file not shown.
Loading…
Cancel
Save