Closed rnitame closed 1 year ago
Hi, are you still encountering this issue? @rnitame
Hi! I am. Gradle goes looking for spotify-web-api-kotlin-<target>
artifacts even though they're actually under spotify-api-kotlin-<target>
.
See targets' apiElements availableAt
field here.
For example, for iosArm64ApiElements
should point to:
https://repo.maven.apache.org/maven2/com/adamratzman/spotify-api-kotlin-iosarm64/4.0.0/
But actually points to: https://repo.maven.apache.org/maven2/com/adamratzman/spotify-web-api-kotlin-iosarm64/4.0.0/
Getting the same issue
A problem occurred configuring project ':shared'.
> Could not resolve all dependencies for configuration ':shared:iosArm64CompileKlibraries'.
> Could not find com.adamratzman:spotify-web-api-kotlin-iosarm64:4.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/adamratzman/spotify-web-api-kotlin-iosarm64/4.0.0/spotify-web-api-kotlin-iosarm64-4.0.0.pom
- https://repo.maven.apache.org/maven2/com/adamratzman/spotify-web-api-kotlin-iosarm64/4.0.0/spotify-web-api-kotlin-iosarm64-4.0.0.pom
- https://maven.pkg.jetbrains.space/public/p/compose/dev/com/adamratzman/spotify-web-api-kotlin-iosarm64/4.0.0/spotify-web-api-kotlin-iosarm64-4.0.0.pom
Required by:
project :shared > com.adamratzman:spotify-api-kotlin-core:4.0.0
+1
This unfortunately breaks Kotlin Multiplatform Projects which include iOS targets
Hi all, apologies for not getting back to this. Let me take a look
Describe the bug
https://repo.maven.apache.org/maven2/com/adamratzman/spotify-api-kotlin-iosarm64/4.0.0/spotify-api-kotlin-iosarm64-4.0.0.pom is correct.
To Reproduce
gradle/libs.versions.toml
Sync project.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.