Hello, I spent quite some time fighting on publishing a KMP library (ANTLR Kotlin) on Maven Central (https://github.com/Strumenta/antlr-kotlin/pull/113).
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
Federico Tomassetti
12/08/2023, 9:42 AM
I get this error:
Federico Tomassetti
12/08/2023, 9:43 AM
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.