What are you trying to achieve? Using Spring in the implemention of a MPP project for jvm platform?
b
bdeg
01/28/2019, 6:11 PM
I want to share entities, business logics(defining use cases as expect classes and implementation for each platform), repositories definition
bdeg
01/28/2019, 6:23 PM
The spring jvm target will be used as a library to an spring boot application.
s
sdeleuze
01/28/2019, 9:40 PM
Spring can be used in the jvm implementation but not in the MPP since it is in Java so JVM only.
b
bdeg
01/29/2019, 9:51 AM
I'm sorry but the response didn't make any sense to me...
I have noticed that I can add spring boot dependencies, but applying spring plugin like dependency management make my build fail.
To workaround this I will have to create beans for the library classes only in the spring boot app but define them in the library.