Browse Source

Fix ImageViewer: Apply applyDefaultHierarchyTemplate (#4762)

The intermediate `iosMain` source was previously removed here:
https://github.com/JetBrains/compose-multiplatform/pull/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()`.
pull/4767/head
Oleksandr Karpovich 7 months ago committed by GitHub
parent
commit
664f5c2ad5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      examples/imageviewer/shared/build.gradle.kts

2
examples/imageviewer/shared/build.gradle.kts

@ -28,6 +28,8 @@ kotlin {
}
}
applyDefaultHierarchyTemplate()
sourceSets {
all {
languageSettings {

Loading…
Cancel
Save