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

Introduce "filesystem" sourceSet and use okio 3.9.0 #5719

Merged
merged 3 commits into from
Mar 14, 2024
Merged

Conversation

martinbonnin
Copy link
Contributor

@martinbonnin martinbonnin commented Mar 13, 2024

Okio 3.9.0 introduces a source set that makes it possible to use FileSystem.SYSTEM without having to expect/actual for all targets 🎉 (PR)

Use this to reduce our expect/actual usage. There is now a filesystem sourceSet for all the targets that have a filesystem:

  • JVM
  • native
  • but also JS in some cases (with NodeJsFileSystem)

The only target that is not included in practice is wasmJs for now.

Also move symbols that require a filesystem to the filesystem source set. This means it's not possible to call them by mistake on wasmJs. It's still possible to call them by mistake in the browser in which case they will fail at runtime.

@martinbonnin martinbonnin requested a review from BoD as a code owner March 13, 2024 16:20
Copy link

netlify bot commented Mar 13, 2024

Deploy Preview for apollo-android-docs canceled.

Name Link
🔨 Latest commit 052fa50
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/65f1d3b66836aa00081abdb0

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@martinbonnin martinbonnin merged commit 3b05088 into main Mar 14, 2024
9 checks passed
@martinbonnin martinbonnin deleted the okio-3-9-0 branch March 14, 2024 09:46
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.

2 participants