kotlinx-nodejs icon indicating copy to clipboard operation
kotlinx-nodejs copied to clipboard

Publish artifacts to Maven Central

Open vlsi opened this issue 4 years ago • 14 comments

JFrog has announced that they are shutting down the Bintray hosting service. https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ Current readme proposes to use repository which is hosted by Bintray.

vlsi avatar Mar 08 '21 10:03 vlsi

Very actual for me

y9san9 avatar May 20 '21 06:05 y9san9

is this lib dead? you can't get it anymore since jcenter has been shutdown now

DRSchlaubi avatar Jul 12 '21 01:07 DRSchlaubi

All previously published versions are available at JCenter indefinitely.

We are going to use Maven Central for new versions. Stay tuned!

bashor avatar Jul 12 '21 21:07 bashor

Out of nowhere, I started getting a 502 Bad Gateway error from JCenter today:

Could not determine the dependencies of task ':kotlinNodeJsSetup'.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
> Could not resolve all files for configuration ':detachedConfiguration3'.

   > Could not resolve org.nodejs:node:14.17.0.
     Required by:
         project :
      > Could not resolve org.nodejs:node:14.17.0.
         > Could not get resource 'https://kotlin.bintray.com/kotlinx/org/nodejs/node/14.17.0/node-14.17.0.pom'.
            > Could not GET 'https://kotlin.bintray.com/kotlinx/org/nodejs/node/14.17.0/node-14.17.0.pom'. Received status code 502 from server: Bad Gateway

This is happening even when trying to reach the https://kotlin.bintray.com URL (even though JCenter says "all systems operational": https://status.bintray.com/)

This might be a good reason to accelerate the switch to Maven Central.

francos avatar Nov 30 '21 21:11 francos

I appear to be having the same issues as above. @francos, find any workarounds?

BFergerson avatar Nov 30 '21 23:11 BFergerson

@BFergerson this worked once I updated to Kotlin 1.6.0, seems like the dependencies are fetched differently on the latest Kotlin Plugin (or something like that?). Try updating if you are still on Kotlin 1.5.x

francos avatar Dec 01 '21 01:12 francos

@BFergerson seems like updating Kotlin to 1.6.0 made this work on 1 of my projects but not all of them 🤔

In the end, I made it work by updating to Kotlin 1.6.0 and removing maven("https://kotlin.bintray.com/kotlinx/") from the repositories clause on build.gradle.kts

francos avatar Dec 01 '21 02:12 francos

Thanks for the tips, @francos. Removing kotlin.bintray.com repo worked for me.

BFergerson avatar Dec 01 '21 03:12 BFergerson

JCenter had issues again yesterday, and the README widget is no longer working. Since it seems like it might be a while before the next version, can we get the current one added to maven central?

rnett avatar Jan 14 '22 00:01 rnett

Sorry to be nagging but bintray seems to be down right now (getting 403 on https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-nodejs/0.0.7/kotlinx-nodejs-0.0.7.klib) which causes builds to fail.

BoD avatar Jan 17 '22 17:01 BoD

This is the last artifact we have on Jcenter. I made a tentative attempt to switch publication to Maven Central there: https://github.com/Kotlin/kotlinx-nodejs/pull/22.

martinbonnin avatar Aug 12 '22 12:08 martinbonnin

I guess the up-to-date wrappers would be moved to https://github.com/JetBrains/kotlin-wrappers, see https://github.com/JetBrains/kotlin-wrappers/issues/1681

vlsi avatar Aug 12 '22 12:08 vlsi