# multiplatform

Federico Tomassetti

12/08/2023, 9:42 AM
Hello, I spent quite some time fighting on publishing a KMP library (ANTLR Kotlin) on Maven Central ( After many attempts, it sorts of works but Maven Central complains about the fact that there is no main jar artifact for antlr-kotlin-runtime-js
plus1 1
I get this error:
I am not sure how I am supposed to fix it. I thought that the KMP would create the appropriate publications with a metadata jar for js, but apparently this is not the case. I guess I could create an empty jar and add it to the publication, but I think the solution should be different.
Can someone advice on this?