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

Add desugar library #15

Closed
shunm-999 opened this issue Mar 25, 2025 · 0 comments
Closed

Add desugar library #15

shunm-999 opened this issue Mar 25, 2025 · 0 comments
Labels
type:enhancement 🚀 Enhancement of code or documentation

Comments

@shunm-999
Copy link
Contributor

shunm-999 commented Mar 25, 2025

Is your feature request related to a problem? Please describe.
Currently, the library requires a relatively high minSdkVersion to work properly due to the usage of newer Java APIs. This prevents users who need to support older Android versions from using the library effectively.

Describe the solution you'd like
Enable desugaring in the library's build configuration to allow usage of newer Java APIs while maintaining compatibility with lower Android API levels. This would involve:

  1. Adding desugaring support in the build.gradle file
  2. Configuring the necessary desugaring options

Additional context
Desugaring is officially supported by Android Gradle Plugin and is a recommended approach for maintaining backward compatibility while using modern Java features. This change would allow more developers to use the library in their projects without worrying about API level restrictions.

@shunm-999 shunm-999 added the type:enhancement 🚀 Enhancement of code or documentation label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement 🚀 Enhancement of code or documentation
Projects
None yet
Development

No branches or pull requests

1 participant