Kareem Waleed
09/15/2021, 8:32 AMrudolf.hladik
09/15/2021, 8:39 AMmavenLocal()
on the first place, run publishToMavenLocal
and then check the created artifacts at maven local repository location. https://stackoverflow.com/questions/21048958/where-is-maven-local-repositoryKareem Waleed
09/15/2021, 8:51 AMpublishToMavenLocal
in the KMM library project and the library is successfully published in ~/.m2
.
Additionally, I’m already using the published library in building another KMM librarymbonnin
09/15/2021, 10:25 AMrepositories{}
blocks. One for the buildscript, the other one for the regular dependencies. Make sure you put mavenLocal()
in the correct oneDavid Liu
09/15/2021, 2:22 PMkotlin {
android {
publishLibraryVariants("release", "debug")
}
}