pawegio / KAndroid

Kotlin library for Android
Apache License 2.0
896 stars 81 forks source link

migrate from jcenter to other host, like mavenCentral #64

Closed nashihu closed 3 years ago

nashihu commented 3 years ago

hello, thanks for the library

JCenter is at end of life

Developers who publish artifacts on JCenter should migrate their packages to a new host, such as Maven Central.

any thought, when and where you will migrate your libraries?

Thank you..

nashihu commented 3 years ago

i just realized from here that this lib also uploaded in jitpack, but still there's an issue regarding the latest version of 0.8.7

if one use version 0.8.7 in gradle, we'll see there's no class from the downloaded library, and also the imported codes will be failed to resolve, like this pict below image

but when we use 0.8.4 in gradle, we can see the codes and imported codes will success to resolve, like this pict below image

i think it's about configuration from the maven or bintray like mentioned at #63 to solve it

nashihu commented 3 years ago

adding @aar solve the problem

the jitpack documentation should be edited to not making people made mistakes, here the screenshot:

image

or maybe the README.md itself should be edited

it should be

dependencies {
     implementation 'com.github.pawegio:KAndroid:0.8.7@aar'
}
pawegio commented 3 years ago

Thank you @nashihu for contribution! JCenter went to into read-only state so old artifacts should be available, but JitPack is now the preferred way.