RikkaApps / FontProvider

Provide NotoCJK (and other) fonts to other app.
MIT License
106 stars 10 forks source link

Move from jcenter #12

Open theblackwidower opened 3 years ago

theblackwidower commented 3 years ago

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.

RikkaW commented 3 years ago

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.

theblackwidower commented 1 year ago

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 commented 1 year ago

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.