Hi Everyone, Can you tell me how to integrate a km...
# multiplatform
s
Hi Everyone, Can you tell me how to integrate a kmm library into another kmm library without exposing code of 1st lib to other lib?
m
if You mean source code there is an option on JVM to exclude (
withSourcesJar(false)
if I remember correctly). On native targets KMM library is distributed as
.klib
file (binary)
k
dependency { implementation(...) }
👆 1
s
@Konstantin Tskhovrebov dependency { implementation(...) }-- For this 1st lib has to be published which is paid service. But need solution without it
@Mikolaj but
.klib
[how to integrate
.klib
] is ios specific and at the same time .aar file will required for android? But I want to use solution for sharedMain part. Can you explain more