https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
h

Hamza GATTAL

12/08/2020, 10:48 PM
Multiplatform project to implement server side jvm and client side android and jvm Is that possible it mean with two jvm targets
k

Kris Wong

12/08/2020, 10:53 PM
my understanding is the AGP and Java application plugins don't play well together. otherwise, I don't think having the two targets is a problem.
i have not tried this myself, however
b

Big Chungus

12/08/2020, 10:56 PM
You can always split them into modules and share cofe through single mpp module
h

Hamza GATTAL

12/09/2020, 2:27 PM
That means Kotlin Multiplatform currently don't support sharing a source set for several JVM targets combination
b

Big Chungus

12/09/2020, 2:33 PM
I think it does, but it's easier to just have a separate module for shared jvm stuff
h

Hamza GATTAL

12/09/2020, 2:40 PM
I will read the official documentation for get infos about possible combination
2 Views