Multiplatform publishing not working on 3.0.0-beta02 & 3.0.0-beta03
See original GitHub issueWhen I update my multiplatform dependencies to use the new versions of splitties from maven central I get the following build error:
* What went wrong:
Execution failed for task ':compileKotlinIos'.
> Could not resolve all files for configuration ':iosCompileKlibraries'.
> Could not find com.louiscad.splitties:bitflags-iosx64:3.0.0-beta02.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/louiscad/splitties/bitflags-iosx64/3.0.0-beta02/bitflags-iosx64-3.0.0-beta02.pom
- https://repo.maven.apache.org/maven2/com/louiscad/splitties/bitflags-iosx64/3.0.0-beta02/bitflags-iosx64-3.0.0-beta02.pom
Required by:
project : > com.louiscad.splitties:splitties-bitflags:3.0.0-beta02
it appears that the main module found here has the following invalid relative url defined in it:
{
"name": "iosX64ApiElements-published",
"attributes": {...},
"available-at": {
"url": "../../bitflags-iosx64/3.0.0-beta03/bitflags-iosx64-3.0.0-beta03.module",
"group": "com.louiscad.splitties",
"module": "bitflags-iosx64",
"version": "3.0.0-beta03"
}
},
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Fixed in 3.0.0-beta04 that I just released. Should be available on MavenCentral within half an hour.
Thanks for the report and the reproducer, and sorry for the vacations related delay.
I’m on it, with a solution that should prevent this from happening again, no matter what subtle changes take place in the Kotlin Gradle plugin.