william
06/09/2021, 7:57 PMdarkmoon_uk
06/10/2021, 6:33 AMmultiplatform
plugin to compile my (JVM-only) server, because I'm maintaining a 'shared' multiplatform module between server and clients.
In theory one should be able to make a multi-platform project reference from the server as a kotlin("jvm")
plugin project; and indeed configuring in this way does compile without issue.
However the IDE support isn't there - both IntelliJ and Android fail to 'see' the multiplatform project dependencies correctly. Setting up the top-level server project as multiplatform
fixes this, though you do have to add the jvmMain
classpaths etc. manually if you're e.g. making a WAR file.CLOVIS
06/10/2021, 7:58 AMapi
is Multiplatform
• server
is JVM, depends on api
• client
is Multiplatform, depends on api
• ui
is JS, depends on client
https://gitlab.com/arcachon-ville/formulaide