supabase-community / postgrest-kt

Postgrest Kotlin Client
53 stars 8 forks source link

Consider migrating to Maven repository #3

Closed yamin8000 closed 2 years ago

yamin8000 commented 3 years ago

Chore

Describe the chore

jCenter is currently deprecated and artifacts can only be downloaded till 2022-02-01, consider migrating to jitpack or even better maven central.

Additional context

more info here

jlengrand commented 2 years ago

Is it not already there? https://mvnrepository.com/artifact/io.supabase/postgrest-kt.

I might be wrong but that looks like the right package?

yamin8000 commented 2 years ago

Is it not already there? https://mvnrepository.com/artifact/io.supabase/postgrest-kt.

I might be wrong but that looks like the right package?

No, It's not there. Yes, You're looking at the right package. However, This is not hosted in mvn repository and the artifact is in JCenter according to this which is currently deprecated. JCenter is read-only since March 2021 and would remain in that order indefinitely so for further developments, it's best to migrate to mvn repository.

image

jlengrand commented 2 years ago

Ha, right my bad indeed I didn't realize

yamin8000 commented 2 years ago

@jlengrand Yeah same 403 error for me. So then migrating to mvn is a must.

jlengrand commented 2 years ago

@yamin8000 I was a bit fast, (1st of January after all :)).

The error disappears for me if I add jcenter() in the list of repositories in my gradle file:

repositories {
    ...
    jcenter()
    ...
}