I’m developing a new client and server. The client needs to support android and desktop (Windows, Mac, Linux). The server only needs to support Linux. Both will be written in Kotlin.
I hope to be able build 3 things:
Android client APK
Desktop client JAR (Or native binaries for Windows, Mac and Linux)
Server JAR (Or native binary for Linux)
I want to share code between all 3 of these.
How do I go about setting this up in IntelliJ IDEA 2019.1?
I have tried the options under ‘New Project’ -> ‘Kotlin’, but they don’t appear to cover all my needs.