I was looking for a way to create a jar, that contains everything I need to have a fully working app that contains a frontend and a backend. A fatJar was the solution, but how can I create a gradle task in a kotlin/multiplatform project that creates this fatJar? I could not find a solution that worked out of the box. I had to modify and extend the found tasks to get my wanted result.