<https://spring.io/guides/gs/multi-module/> Spring...
# spring
b
https://spring.io/guides/gs/multi-module/ Spring library can't be built in an MPP project targeting android, ios and jvm(java 8), is it the intended behavior?
s
What are you trying to achieve? Using Spring in the implemention of a MPP project for jvm platform?
b
I want to share entities, business logics(defining use cases as expect classes and implementation for each platform), repositories definition
The spring jvm target will be used as a library to an spring boot application.
s
Spring can be used in the jvm implementation but not in the MPP since it is in Java so JVM only.
b
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.
Ho now I understand, your statement.