title: How to successfully publish a KMM library on localMaven() for android project to consume it?
body: <p>I'm trying to integrate KMM library I made with my Android project. Till now I've successfully published the KMM library locally by following the steps <a href="https://dev.to/kotlin/how-to-build-and-publish-a-kotlin-multiplatform-library-creating-your-first-library-1bp8" rel="nofollow noreferrer">here</a></p>
  <p>But unfortunately when trying to add it as a dependency in my Android project the project doesn't build:</p>
  <pre><code>Execution failed for task ':app:mergeDebugNativeLibs'.
  &gt; Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
  &gt; Could not find com.example.kmm:core-android:1.0.0-snapshot.1.
   Searched in the following locations:
     - https://dl.google.com/dl/android/maven2/com/example/kmm/core-android/1.0.0-snapshot.1/core-android-1.0.0-snapshot.1.pom
     - https://repo.maven.apache.org/maven2/com/example/kmm/core-android/1.0.0-snapshot.1/core-android-1.0.0-snapshot.1.pom
   Required by:
       project :app
  </code></pre>
  <p>I've already added <code>mavenLocal()</code> to my repositories</p>
  <pre><code>repositories {
      google()
      mavenCentral()
      mavenLocal()
  }
  </code></pre>
  <p>But still getting nothing, any help ?</p>
  <p>Note: when trying to consume the library in another KMM project or Module it successfully builds.</p>