-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix(android): gradle ExperimentalStdlibApi #4698
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For what it's worth, this looks like the right fix in the right spot and fixed compile for me.
Using this via patch-package
Thanks @Gregoirevda !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor fix and we good to go
@@ -91,6 +91,9 @@ android { | |||
|
|||
kotlinOptions { | |||
jvmTarget = '17' | |||
freeCompilerArgs += [ | |||
"-opt-in=kotlin.ExperimentalStdlibApi" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Overtorment I don't want to optin for the project. Please optin the specific file instead.
You will need to use something like @OptIn(ExperimentalStdlibApi::class)
fixes issue #4678