conference-app-2021 icon indicating copy to clipboard operation
conference-app-2021 copied to clipboard

Remove usage of jcenter() from build.gradle of the project root

Open punchdrunker opened this issue 3 years ago • 8 comments

Kind (Required)

Improvement

Overview (Required)

One of the next steps of #338 and #328. Remove usage of jcenter() from project root's build.gradle to solve the warning about jcenter().

These libs are still hosted on JCenter, so after they migrate to Maven Central, we can solve this issue.

  • kotlinx-html-jvm
  • kotlinx-collections-immutable-jvm

Links

  • #328
  • https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
UPDATE: To better support the community in this migration, JFrog has extended the JCenter new package versions submission deadline through March 31st 2021.

To clarify, the JCenter repository will keep serving packages for 12 months until February 1st 2022. Only the JCenter REST API and UI will be sunsetted on May 1st 2021.

punchdrunker avatar Mar 18 '21 03:03 punchdrunker

I will try it ✋

kotlinx-collections-immutable-jvm 0.3.4, is published to the Maven Central repository 🎉

https://github.com/Kotlin/kotlinx.collections.immutable/issues/96#issuecomment-809785184

And kotlinx-html-jvm can use Jetbrains Space

https://github.com/Kotlin/kotlinx.html/issues/173#issuecomment-806910768

ykws avatar Mar 31 '21 12:03 ykws

I tried it, but not work, it was same as the following comment. https://github.com/Kotlin/kotlinx.collections.immutable/issues/96#issuecomment-811667703

On the other hand kotlinx-html-jvm is work fine!

ykws avatar Apr 04 '21 03:04 ykws

Is there anything we can do? 👀

takahirom avatar Apr 05 '21 07:04 takahirom

Let's wait for the transition!

takahirom avatar Apr 06 '21 00:04 takahirom

@ykws Thank you for your investigation. I don't think removing jcenter is an urgent task, so I suggest that we wait for their migration to Maven Central for some months.

punchdrunker avatar Apr 06 '21 01:04 punchdrunker

Is there anything we can do? 👀

@takahirom @punchdrunker No, sorry. I agree with waiting.

ykws avatar Apr 07 '21 16:04 ykws

Apparently, now we can use kotlinx.collections.immutable version 0.3.4 of maven central. https://github.com/Kotlin/kotlinx.collections.immutable But androidx.compose.runtime is still using version 0.3.3, so we may need to wait until androidx.compose.runtime updates that dependency 😢

Regarding kotlinx.html, we can fix this issue after this PR is merged. https://github.com/Kotlin/kotlinx.html/issues/173

punchdrunker avatar Apr 21 '21 01:04 punchdrunker

Thanks! I removed blocked by external

takahirom avatar Apr 25 '21 08:04 takahirom