Unable to fetch artifact from maven repository
Closed this issue · 1 comments
carltonwhitehead commented
The directions in the README.md reference a personal maven repository which seems to no longer be available.
repositories{
maven {
url 'http://dl.bintray.com/amulyakhare/maven'
}
}
dependencies {
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
}
Gradle fails to build
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':purecloud'.
> Could not download com.amulyakhare.textdrawable.aar (com.amulyakhare:com.amulyakhare.textdrawable:1.0.1)
> Could not get resource 'http://dl.bintray.com/amulyakhare/maven/com/amulyakhare/com.amulyakhare.textdrawable/1.0.1/com.amulyakhare.textdrawable-1.0.1.aar'.
> Could not GET 'http://dl.bintray.com/amulyakhare/maven/com/amulyakhare/com.amulyakhare.textdrawable/1.0.1/com.amulyakhare.textdrawable-1.0.1.aar'. Received status code 401 from server: Unauthorized
I'm able to work around this by removing the custom repository as shown above and obtaining the artifact from jcenter instead, since it seems to have been picked up there
repositories{
jcenter()
}
For the sake of the library's existing user base with build scripts depending on it, consider fixing the issue with the maven repository. If that is not possible, perhaps update the readme.
carltonwhitehead commented
It looks like the repo is working again. Perhaps this was just an intermittent outage at bintray? Closing now