I have created a KMP library named APIKit. Now, I ...
# multiplatform
d
I have created a KMP library named APIKit. Now, I am working on another CMP library called UIKit. How can I integrate APIKit into the UIKit project? Should I use it as a
.aar
file or some other method in the commonMain? both are separate projects.
s
If the libraries are built and released to a repository like maven, then you should just depend on APIKit in your UIkit build.gradle.kts dependencies. If the libraries are in the same gradle root, then just depend on the module directly. Oop they’re separate projects, so yeah you should publish your library somewhere and consume it in your other library.
🙏 1