Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve: org.jetbrains.kotlinx:kotlinx-collections-immutable-jvm:0.3 #61

Closed
alphaho opened this issue Oct 20, 2019 · 9 comments

Comments

@alphaho
Copy link

alphaho commented Oct 20, 2019

Following the README.md instructions and added below line to my gradle dependencies configuration:

implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable-jvm:0.3")

I got the following error message from gradle:

> ./gradlew build
> Task :compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.jetbrains.kotlinx:kotlinx-collections-immutable-jvm:0.3.

And with the following link from jcenter, I got a 404 response: https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-collections-immutable-jvm/

However, if I follow the links and locate the jar on the jcenter web UI, I can download the jar successfully from this page: https://bintray.com/kotlin/kotlinx/kotlinx.collections.immutable/0.3#files/org%2Fjetbrains%2Fkotlinx%2Fkotlinx-collections-immutable-jvm%2F0.3

May I know whether version 0.3 is ready to be used?

@yuriykulikov
Copy link

yuriykulikov commented Oct 20, 2019

Add this to your build.gradle, it will allow you to download artifacts from the bintray repository

repositories {
        maven {
            url "https://kotlin.bintray.com/kotlinx"
        }
    }

@alphaho
Copy link
Author

alphaho commented Oct 20, 2019

Thanks for the quick reply! With the repository configuration, it now can resolve the dependency successfully.

Maybe we need to update the README.md? As it says:

Add the bintray repository:

repositories {
    jcenter()
}

@ilya-g
Copy link
Member

ilya-g commented Oct 21, 2019

I've filed a request for bintray to investigate why not all of the artifacts are mirrored in jcenter.

@rgoldberg
Copy link

rgoldberg commented Oct 28, 2019

Can you publish to mavenCentral()? jcenter() supposedly mirrors that.

I've experienced problems multiple times with jcenter(), but never with mavenCentral(), so I'd prefer to avoid using jcenter().

Since I already successfully use mavenCentral(), I'd rather not introduce another external dependency on https://kotlin.bintray.com/kotlinx.

Thanks.

@ilya-g
Copy link
Member

ilya-g commented Oct 28, 2019

Downloading from jcenter should be fine now.

@adam-arold
Copy link

Is there a timeline for fixing this problem? This artifact is the only transitive dependency I have which doesn't download without adding the repository explicitly. This issue is still not solved.

@ilya-g
Copy link
Member

ilya-g commented Mar 4, 2020

@adam-arold This issue was about artifacts being unavailable in jcenter. As I've checked them now once again, they are all there.

@JohannRosenberg
Copy link

jCenter is being permanently shut down. Where are these artifacts located now?

@ilya-g
Copy link
Member

ilya-g commented Mar 18, 2021

@JohannBlake AFAIK jcenter isn't going anywhere until Feb 2022. The current version still resides in jcenter(), and the next version will be published to maven central pretty soon. You can subscribe to #96 for updates.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants