question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JCenter: Could not resolve dependencies

See original GitHub issue

SQLDelight Version

1c3a44c2e5c255456f7d03be07a8ffd3d2203249

Operating System

Linux Mint 20.2

Gradle Version

6.8.3

Kotlin Version

1.5.30

AGP Version

No response

Describe the Bug

I am trying to build sqldelight. I started with git clone https://github.com/cashapp/sqldelight && cd sqldelight && ./gradlew to download dependencies etc.

It looks that JCenter dependencies cannot be resolved due to https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Stacktrace

A problem occurred configuring root project 'sqldelight'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.1.2.
     Required by:
         project :
      > Could not resolve org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.1.2.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/intellij/plugins/gradle-intellij-plugin/1.1.2/gradle-intellij-plugin-1.1.2.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/intellij/plugins/gradle-intellij-plugin/1.1.2/gradle-intellij-plugin-1.1.2.pom'.
               > Read timed out
   > Could not resolve org.jetbrains.intellij.plugins:gradle-changelog-plugin:0.4.0.
     Required by:
         project :
      > Could not resolve org.jetbrains.intellij.plugins:gradle-changelog-plugin:0.4.0.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/intellij/plugins/gradle-changelog-plugin/0.4.0/gradle-changelog-plugin-0.4.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/intellij/plugins/gradle-changelog-plugin/0.4.0/gradle-changelog-plugin-0.4.0.pom'.
               > Read timed out
   > Could not resolve com.github.jengelman.gradle.plugins:shadow:6.1.0.
     Required by:
         project :
      > Could not resolve com.github.jengelman.gradle.plugins:shadow:6.1.0.
         > Could not get resource 'https://jcenter.bintray.com/com/github/jengelman/gradle/plugins/shadow/6.1.0/shadow-6.1.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/github/jengelman/gradle/plugins/shadow/6.1.0/shadow-6.1.0.pom'.
               > Read timed out

* What went wrong:
A problem occurred configuring project ':sqldelight-compiler'.
> Could not resolve all files for configuration ':sqldelight-compiler:compileOnly'.
   > Could not resolve com.jetbrains.intellij.platform:test-framework:202.8194.7.
     Required by:
         project :sqldelight-compiler
      > Could not resolve com.jetbrains.intellij.platform:test-framework:202.8194.7.
         > Could not get resource 'https://jcenter.bintray.com/com/jetbrains/intellij/platform/test-framework/202.8194.7/test-framework-202.8194.7.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/jetbrains/intellij/platform/test-framework/202.8194.7/test-framework-202.8194.7.pom'.
               > Read timed out

Gradle Build Script

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
starsepcommented, Sep 16, 2021

I believe it’s caused by this incident: https://status.gradle.com/incidents/ndfqcnmqc8n7

0reactions
JakeWhartoncommented, Sep 20, 2021

Well it will be needed soon enough no matter what, but glad it’s back working for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't resolve dependency in Android Studio with jcenter
I can't resolve any library. This is my root gradle file: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build: ...
Read more >
JCenter Shutdown Impact on Gradle Builds
Based on the current timeline, builds that use JCenter will be able to resolve dependencies until February 1, 2022 without changes. After that ......
Read more >
Upgrade Android Project from JCenter to Maven Central
Could not resolve all artifacts for configuration ':classpath'. ... this error is that the Android Core dependency still requires JCenter.
Read more >
Repository https://jcenter.bintray.com does not work! #820
Just wanted to say that jcenter gradle repository looks like it's good now. Right now I generated a release and everything works correctly...
Read more >
Unexpected failure to resolve a dependency, should be ...
Error:Failed to resolve: org.apache.httpcomponents:httpclient:4.3.6 ... https://bintray.com/bintray/jcenter/org.apache.httpcomponents%3Ahttpclient/4.3.6
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found