Hi,
I'm having trouble importing the new Compose Multiplatform alpha release (1.7.0-alpha01). I'm using the amper Gradle-KMP layout, and when I change the compose version to the alpha release (compose: version: etc), it can't seem to find the compose resources anymore. Is there something obvious I'm missing or doing wrong? and is there a way to specifically change the version of a certain dependency as its all bundled up. thanks!
👀 1
✅ 1
yt logo 1
i
Ivan Kubyshkin
07/05/2024, 1:13 PM
@Sss I failed to reproduce the problem. Can you attach a sample project?
👍 1
s
Sss
07/05/2024, 4:42 PM
Hi @Ivan Kubyshkin,
Here is the repo: https://github.com/viathus/AmperComposeDependencyIssue/commits/main/
I have also tried adding the org.jetbrains.compose plugin directly and it can't find it at all.
I have probably done something very stupid but can't see the issue 😅, so any help on how you are supposed to do is appreciated.
It looks like it's not just the resources, I also had troubles to use the new navigation 2.8.0-alpha08 which needs compose 1.7.0-alpha01. I could switch the compose version after downgrading gradle to 8.6 (as documented) but setting the version to 1.7.0-alpha1 kept loading an older version of skiko/skia which ends in a nasty error (https://github.com/JetBrains/compose-multiplatform/issues/5077). Unfortunately I had to switch back to gradle entirely and not using Ampler at all for this project. Looking forward to the moment Amper supports Kotlin Compose Mulitplatform 1.7.x properly as I already started to like Amper very much!
Any hint about what I'm doing wrong switching to compose 1.7.x in Amper is very welcome.