-
Notifications
You must be signed in to change notification settings - Fork 169
Dependency requires core library desugaring to be enabled #610
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
Comments
Can you post your build gradle, sounds like you might be adding the dependancy incorrectly. |
@Reedyuk I believe nothing special here
|
What version of the JDK are you targeting? just wondering if its an issue with an older version being used? |
|
Just for reference, when you enable this property, does your project work? |
@Reedyuk I don't really know for now. Currently I am writing implementations for IOS of my common classes. But without My gradle version: |
gradle is fine, my guess is you have this somewhere:
And this is version 4.x.x You highlight that maybe what we need is an example KMP(with compose) that uses the library. |
@Reedyuk After searching I see that I don't use I have: |
Whats your min android version you are targeting? |
This seems to shed some light: |
@Reedyuk I have reproduce example:
Project will not build and throw the error I posted.
I have way over 21 min sdk
|
ok thanks for the report |
Desugaring is required for the config module as of #553 @Reedyuk and @Monabr due to the use of Kotlinx datetime which requires it as well. Only core library desugaring is required https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#using-in-your-projects |
According to the docs I believe you can safely update minSdk to 26. |
Did some digging around and it seems fine to just disable core library desugaring on the module itself. Should only be added on the app implementing the SDK. See #618 |
I believe this should be fixed.
The text was updated successfully, but these errors were encountered: