Hello! 👋
I'm trying to create fat jar for my kotlin multiplatform project which will then be used as a dependency on another project. When I'm trying to use the class defined in the multiplatform project on the other project, it's not able to find/import it. However, when I opened the created jar, I can see it's there (along with all the dependencies).
There is a
stackoverflow post that I found on how to build a fat jar for multiplatform project and I pretty much just followed that. Correct me if I'm wrong, since my multiplatform project doesn't have a main class, I do not need to include the part where it adds the main class to the attributes.
I have been having hard time to get this to work. Most of the examples online are for multiplatform projects with main class. Is there any tutorial on how to build a fat jar for a multiplatform project that doesn't have main class? Any help is greatly appreciated!
Thanks in advance!