FontProvider icon indicating copy to clipboard operation
FontProvider copied to clipboard

Move from jcenter

Open theblackwidower opened this issue 3 years ago • 3 comments

Don't know if you're aware of this, but the jcenter repository is being shut down. It's still up for the moment, but I'm pretty sure a future version of gradle will stop supporting it. At least, that's what all the alerts I'm getting are telling me. And you're the only library in my project that only available there. So I'm suggesting you upload the API library somewhere else, like Maven Central, so people can still use it.

theblackwidower avatar May 24 '21 17:05 theblackwidower

I'm aware of this before. However, this project needs some updates first, such add NotoSansCJK-VF, support Android's FontProvider API, etc. I'm currently busy doing other projects. I'll update this project once I have more free time.

RikkaW avatar Jun 26 '21 16:06 RikkaW

Well, currently, I tried compiling my app, and I keep getting warnings that the library now no longer exists.

Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find api-10.aar (moe.shizuku.fontprovider:api:10).

I investigated a bit and it looks like JCenter was taken offline completely and now all requests redirect to repo1.maven.org. And since the fontprovider library isn't on that server, it just sends a 404 error. I don't know what to do about it, short of rewriting all my code to remove all references to the FontProvider, which is more than I want to do at the moment.

theblackwidower avatar Jun 23 '23 02:06 theblackwidower

Would it be possible for you to upload the compiled version here? And then I could add it to my project locally. I might be able to compile it on my own, but I'm pretty sure that would mean it wouldn't interact with the app on Google Play, due to security issues.

theblackwidower avatar Jun 23 '23 17:06 theblackwidower