SciProgCentre / plotly.kt

An interactive Kotlin wrapper for plotly visualization tools
https://sciprogcentre.github.io/plotly.kt/
Apache License 2.0
147 stars 21 forks source link

Failure to resolve dependency to org.jetbrains:kotlin-css-jvm without bintray #76

Closed luispollo closed 3 years ago

luispollo commented 3 years ago

Bintray hast been sunset. If you remove the bintray repository, the build fails to resolve the library above. I couldn't not find an alternative artifact repository (tried the one referenced here but it doesn't have the -jvm variant.

altavir commented 3 years ago

I do not think we have a kotlin-css dependency in this project. Please correct me if I am wrong. The kotlin-wrappers meta-repository that includes kotlinx-css is not published on central yet. One needs to add maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-js-wrappers") to repositories to make it work.

luispollo commented 3 years ago

Indeed, that's what fixed it for me. I was just about to add an update here.

From gradle dependencyInsight:

org.jetbrains:kotlin-css-jvm:1.0.0-pre.122-kotlin-1.4.10
\--- space.kscience:plotlykt-core-jvm:0.4.0
     \--- space.kscience:plotlykt-server:0.4.0
          \--- default
altavir commented 3 years ago

Ah, now I see it. I don't believe we need it, so it should be removed. Thanks for the report!

altavir commented 3 years ago

Deployed in 0.4.1. It is available on https://repo.kotlin.link, but not on central since it is only a minor fix.