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

update ImageViewer build file #3956

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

shalva97
Copy link
Contributor

@shalva97 shalva97 commented Nov 20, 2023

As I understood according to https://kotlinlang.org/docs/whatsnew1920.html#set-up-the-target-hierarchy those dependsOn calls are no longer needed

Tested on iOS, MacOS and Android. It works as before

Copy link
Contributor

@dima-avdeev-jb dima-avdeev-jb left a comment

Choose a reason for hiding this comment

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

Looks good to me

@dima-avdeev-jb dima-avdeev-jb merged commit 389e3ed into JetBrains:master Nov 22, 2023
eymar added a commit that referenced this pull request May 6, 2024
The intermediate `iosMain` source was previously removed here:
#3956 And it
worked fine.

According to the doc
https://kotlinlang.org/docs/whatsnew1920.html#set-up-the-target-hierarchy
:
> If you want to have additional source sets that the default hierarchy
template doesn't provide, for example, one that shares code between a
macOS and a JVM target, adjust the hierarchy by reapplying the template
explicitly with applyDefaultHierarchyTemplate() and configuring
additional source sets manually as usual with dependsOn()

Now we have an additional custom source set named 'jsWasmMain',
therefore we need to have `applyDefaultHierarchyTemplate()`.
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

2 participants