Hello everyone, is it possible to have multiple JV...
# multiplatform
z
Hello everyone, is it possible to have multiple JVM targets? Like for a Server-Backend and a Microservice? Edit after Jakub asked: The server is written with ktor and we want to Spark NLP for our new search feature. But i don't want to mix the code from the microservice with the server code.
k
what's the diff?
z
We use ktor for our serverbackend and want to use Spark NLP for our new search feature. But i don't want to pack everything in one Jar-File.
And i think that you should allways separate two completely different applications. Otherwise it becomes messy. Same for our Java-Client. Right now the java client is in a separate project, but our migration goal is to get this one in out MP-PProject too.
j
If you want 2 different jars because they don’t serve the same purpose, I think it is more about defining 2 different modules than defining 2 different targets in the same multiplatform module. You can combine multiple gradle modules, and some of them may be multiplatform, but I believe these are 2 separate things.
z
Hm, i think you are right, ill try it that way. Thanks