from the mavenCentral() repository. I can see that this file is there on maven central but i get:
Copy code
CCould not resolve dev.chrisbanes.accompanist:accompanist-coil:0.4.2.
Required by:
project :
Possible solution:
- Declare repository providing the artifact
Suser
01/19/2021, 8:02 AM
maybe it's my intellij? I can't seem to resolve any dependencies...
s
stumi
01/19/2021, 9:11 AM
Edit: the coil dependency only accessible for android projects
s
Suser
01/19/2021, 9:42 AM
thanks @stumi. that's what i've also concluded. i'm not really sure how to find compatible dependencies. If i want to add features am i limited to kotlin native? i assume the actual problem is using libraries that have android dependencies.
s
stumi
01/19/2021, 9:50 AM
well for compose desktop you are basically creating a JVM project so every dependency which has a JVM target should work (there are plenty of those)
I usually check the https://github.com/AAkira/Kotlin-Multiplatform-Libraries
libs first because my targets are mobile + desktop at this moment so i need plenty of support 😄
but if you are only working with dektop app you are in a better place.