I have published own lib on the private maven repo. Now I’, trying to import it to the project. The library is available and I’m trying to add it to the available project. I added it to build.gradle
of the module via implementation 'pkg:utils_lib:1.0.0'
and then to project build.gradle:
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
url ""
credentials(HttpHeaderCredentials) {
name = ""
value = ""
}
authentication {
header(HttpHeaderAuthentication)
}
}
maven { url 'https://maven.google.com' }
}
}
and as a result I see such message:
Failed to resolve: pkg:utils_lib:1.0.0
I tried to delete all ./gradle
cache, reload all dependencies, but it did not help enough. Tried to refresh android studio caches, tried with new project. But this package is available.