Kaopiz / KProgressHUD

An implement of ProgressHUD for Android, similar to MBProgressHUD, SVProgressHUD for iOS.
Apache License 2.0
1.65k stars 382 forks source link

support mavenCentral() #70

Open NunciosChums opened 3 years ago

NunciosChums commented 3 years ago

Android Studio 4.2 suggest change jcenter() to mavenCentral().

https://developer.android.com/studio/build/jcenter-migration

JCenter deprecation and end of service

JFrog, the company that maintains the JCenter artifact repository used by many Android projects, recently announced the deprecation and upcoming retirement of JCenter. According to the announcement, JCenter will allow downloads of existing artifacts until February 1, 2022. Developers who publish artifacts on JCenter should start migrating their packages to a new host, such as Maven Central. In the near future, we will provide additional information about migrating Android projects away from JCenter on this page.

hungntv commented 3 years ago
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
   > Could not find com.kaopiz:kprogresshud:1.2.0.
     Required by:
         project :app

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

I have to downgrade to version 1.1.0 Any solution? Thanks

fkocak2505 commented 3 years ago

Any solution for this ticket?

sergchil commented 3 years ago

As a temp workaround, you can try adding this in top-level Gradle file

for more info

allprojects {
    repositories {
        jcenter() {
            content {
                includeModule("com.kaopiz", "kprogresshud")
            }
        }
    }
}
nzayatz14 commented 3 years ago

I also need this to be moved, the end is near for jcenter

hungntv commented 3 years ago

End of this month, Jcenter will be shutdown.

Please move to another repository

Thanks

BayoKwendo commented 3 years ago

So is this project dead? because we can't use it anymore no support for mavenCentral()

nico6ka commented 2 years ago

I solved the issue with Jitpack: https://jitpack.io/#Kaopiz/KProgressHUD/1.0

rupinderjeet commented 2 years ago

Use this one: https://github.com/rupinderjeet/KProgressHUD

I updated this library in my fork and published it to mavenCentral(). I intend to fix issues and add some improvements in coming weeks.

benedictcontawe commented 2 months ago

Failed to resolve: com.kaopiz:kprogresshud:1.2.0 Show in Project Structure dialog Affected Modules: app