Hey everyone,
I'm facing an issue where IntelliJ IDEA fails to properly resolve macOS dependencies when publishing Kotlin/Native artifacts separately for
linuxX64
and
macosArm64
.
Due to technical limitations in my project, I must publish separate artifacts per target variant, which is likely why this issue hasn't been widely noticed before. On macOS, the publishing process generates an extra
-metadata.jar
file that is completely empty except for the
META-INF
directory. This file breaks dependency resolution in IntelliJ.
I've reported the issue here
Has anyone encountered this before? Does anyone know a workaround to prevent this empty metadata JAR from being generated? Any insights would be greatly appreciated.