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.