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

Fix(android): gradle ExperimentalStdlibApi #4698

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Gregoirevda
Copy link
Contributor

fixes issue #4678

@Gregoirevda Gregoirevda requested a review from d4vidi as a code owner February 1, 2025 18:13
@d4vidi d4vidi requested review from gosha212 and removed request for d4vidi February 2, 2025 17:20
Copy link
Contributor

@mikehardy mikehardy left a 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 !

Copy link
Contributor

@gosha212 gosha212 left a 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"
Copy link
Contributor

@gosha212 gosha212 Feb 6, 2025

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants