amulyakhare / TextDrawable

This light-weight library provides images with letter/text like the Gmail app. It extends the Drawable class thus can be used with existing/custom/network ImageView classes. Also included is a fluent interface for creating drawables and a customizable ColorGenerator.
MIT License
3.16k stars 623 forks source link

Unable to fetch artifact from maven repository #57

Closed carltonwhitehead closed 7 years ago

carltonwhitehead commented 7 years ago

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 7 years ago

It looks like the repo is working again. Perhaps this was just an intermittent outage at bintray? Closing now