https://kotlinlang.org logo
j

Jurriaan Mous

02/03/2021, 5:38 PM
Will there be an advice from JetBrains about this JCenter situation? Since it will seriously impact the Kotlin Ecosystem… Will there maybe be a Jetbrains solution? Since I would trust that more than another random company which is less invested in the Kotlin ecosystem.
4
💯 3
👍 3
v

Vampire

02/03/2021, 5:49 PM
What's wrong with using Maven Central? I always published things to Maven Central, because that is what in most builds is present and for Maven consumers even is available by default. The only "hard" part is the initial getting registered, but after that it just works.
👍 1
☝️ 1
t

Timo Gruen

02/03/2021, 6:24 PM
It’s an issue for the whole Java Ecosystem. Currently I would rather say, that most dependencies are present in maven central, only very limited are present in jCenter only, hopefully all of those are getting migrated...
👍 2
k

Kirill Grouchnikov

02/03/2021, 6:51 PM
It's all good until Maven Central disappears
☝️ 2
😱 3
v

Vampire

02/03/2021, 6:52 PM
Unlikely, at least as long as Maven exists, it's the canonical repository. I would really wonder if it vanishes. 😄
k

Kirill Grouchnikov

02/03/2021, 6:55 PM
It eventually will. Nothing is forever.
n

napperley

02/03/2021, 6:59 PM
Isn't Maven Central separate from the Maven build system?
k

Kirill Grouchnikov

02/03/2021, 7:01 PM
I'm just saying that somebody is paying for all that bandwidth, disk space, security procedures, etc. At some point that somebody will not be there.
n

napperley

02/03/2021, 7:01 PM
One wonders if JetBrains see a valuable opportunity to fill in the enormous gap by providing a similar service, with the difference being that it is geared toward Kotlin libraries.
It is true that the funding for the service (to keep the lights on) would need to come from somewhere. Should JetBrains provide a service geared towards Kotlin libraries that would easily be covered with paid plans for commercial software libraries. A special free plan would be provided for open source software libraries (with certain limitations - the devil is in the details).
Admittedly I have some open source Kotlin libraries that depend on Bintray for publishing unstable versions, and was planning to use JCenter for publishing production versions, but with this news that has gone out the window ☹️ .
What advice would the Kotlin team give about publishing an open source Kotlin library? Is there a credible alternative to Maven Central that can be used?
k

Kirill Grouchnikov

02/03/2021, 7:14 PM
Maven Central is still there. Setting it up is a bit of a hassle though.
n

napperley

02/03/2021, 7:15 PM
I have heard that it is a enormous hassle for Multiplatform Kotlin libraries.
What is to stop Maven Central from disappearing into the sunset?
k

Kirill Grouchnikov

02/03/2021, 7:18 PM
You can ask that of any other existing and future solution
n

napperley

02/03/2021, 7:20 PM
This would be no different if PyPy, Npm, or any other similar service were to permanently go off the air.
k

Kirill Grouchnikov

02/03/2021, 7:27 PM
We're kinda going in circles. Maven Central is already there as a free solution. I guess you're asking for another solution that doesn't exist yet, on an extremely tight deadline with no clear long term sustainability plan.
☝️ 1
m

Michal Klimczak

02/03/2021, 8:05 PM
How is maven central more of a hassle fkr multiplatform than any other library? I understand the initial hassle of setting up the repository / account but otherwise it's just another repo, it should work regardless of whether your maven repo contains kmm or regular kotlin or java or whatever, right?
1
l

louiscad

02/03/2021, 8:13 PM
mavenCentral has a bunch of free public mirrors though, and jcenter was partly one of them BTW. Google hosts some mavenCentral mirrors in several GCP regions for instance.
👍 1
n

napperley

02/03/2021, 8:22 PM
With the Google thing you are relying on yet another service (additional point of failure).
j

Javier

02/03/2021, 8:26 PM
@napperley in fact, I moved from bintray to mavenCentral because it is easier to update multiplatform libraries
1
l

louiscad

02/03/2021, 8:36 PM
@Javier What is easier exactly?
j

Javier

02/03/2021, 8:40 PM
I uploaded a lib with two targets to Jcenter, later I added a new target but it wasn't appearing. I asked the support team and they said me something about metadata I don't remember right now, with MavenCentral I have to do nothing, if I add a new target, it will be there... btw I had this problem long time ago. Maybe it had changed
3 Views