Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Multiplatform: Port :zoomable module to Compose Multiplatform #10
Multiplatform: Port :zoomable module to Compose Multiplatform #10
Changes from all commits
8e54077
27a319d
c027ce4
f9d3f0c
be0ed02
ef87b43
f5aaa40
a9885e6
052c4a1
2c84442
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I've asked on kotlinlang slack: https://slack-chats.kotlinlang.org/t/12027617/wave-is-anyone-using-xjvm-default-all-in-their-project-this-#70174f9f-d1ff-4a44-823e-4258f80e4a6f
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.
wanna try out @JakeWharton's recommendation?
https://github.com/cashapp/redwood/blob/9082d4182f9622b95dfd3fd1bc2dcf558ff11d31/build.gradle#L91-L98
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.
No change, IDE still complains.
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.
Sigh okay. Let's get this PR merged for now. We can continue looking for a fix afterwards.
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.
Can you share more about this?
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.
Jetbrains Compose has its own version (current latest 1.4.0), and that comes with a "blessed" set of versions for each of the Compose libraries. Those libraries are exposed via special dependency accessors. They look like:
While it's totally possible to use arbitrary versions rather than the ones specified by the plugin, I went for the safe option of using the plugin's. Analogous to using the Compose BOM rather than specifying each library version individually.
If Telephoto totally adopts multiplatform, this TODO suggests to remove all the specific Compose library versions, in favor of fully using the plugin to add them as dependencies.
In the meantime, this split means that modules that use multiplatform could be using different versions of Compose libraries from those that use kotlin-android.
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.
Got it, thanks for explaining!
This file was deleted.