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

Get rid of Apache Commons #882

Closed
rfc2822 opened this issue Jul 3, 2024 · 1 comment · Fixed by #883 or #901
Closed

Get rid of Apache Commons #882

rfc2822 opened this issue Jul 3, 2024 · 1 comment · Fixed by #883 or #901
Assignees
Labels
refactoring Internal improvement of existing functions

Comments

@rfc2822
Copy link
Member

rfc2822 commented Jul 3, 2024

We're nailed to old versions of Apache Commons as long as we don't increase the minimum SDK. These libraries have various problems which are already fixed in new versions, but we can't use them.

Also, they are not optimized for Android and/or Kotlin.

So maybe it's possible to replace them by (in order of preference):

  1. Kotlin methods
  2. Java methods
  3. Android / support library methods
  4. Guava methods (guess we will still need a general-purpose support library; however we can always use the latest Guava version without problems as I understand it and it's optimized for Android)
@rfc2822
Copy link
Member Author

rfc2822 commented Jul 4, 2024

#883 has removed the explicit dependencies, but the Commons are still used (imported over dependencies of dependencies).

  • Scan through all code directories for "commons" imports and replace them

@rfc2822 rfc2822 reopened this Jul 4, 2024
@github-project-automation github-project-automation bot moved this from Done to In Progress in DAVx⁵ Releases Jul 4, 2024
@rfc2822 rfc2822 moved this from In Progress to Todo in DAVx⁵ Releases Jul 4, 2024
@rfc2822 rfc2822 changed the title Get rid of Apache Commons, if possible Get rid of Apache Commons Jul 4, 2024
@rfc2822 rfc2822 linked a pull request Jul 11, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in DAVx⁵ Releases Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Internal improvement of existing functions
Projects
Archived in project
1 participant