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.

2.25.3 is unavailable on Gradle repository

See original GitHub issue

https://github.com/mockito/mockito/runs/6394267570?check_suite_focus=true fails resolving 2.25.3 for com.diffplug.spotless:spotless-lib and com.diffplug.spotless:spotless-lib-extra Gradle version 7.3.1 Spotless version 6.6.0

Corresponding Dependabot PR at https://github.com/mockito/mockito/pull/2641

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ljacometcommented, May 12, 2022

Hey folks,

Sorry about that. The Gradle JCenter mirror had one timeout with a too high value. I believe that what happened is a request was made before JCenter itself had mirrored Maven Central - we have noticed delays there recently. And in that case, we were caching that miss for too long. Issue has been fixed and the dependency can now be found.

1reaction
davidburstromcommented, May 11, 2022

I suspect that the Gradle plugin portal has stopped mirroring upstream repositories: https://repo.gradle.org/ui/native/jcenter/com/diffplug/spotless/spotless-lib/

Put this in settings.gradle.kts

pluginManagement {
    repositories {
        gradlePluginPortal()
        mavenCentral()
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Did gradlePluginPortal upstream mirroring just change?
We publish the following to mavenCentral and to the Gradle plugin portal ... See also: 2.25.3 is unavailable on Gradle repository · Issue ......
Read more >
Gradle build failing after update to 3.0 - Stack Overflow
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes...
Read more >
Add build dependencies - Android Developers
Learn how to add build dependencies using the Gradle build system in Android ... For libraries not available from the Google Maven repository...
Read more >
Can't resolve plugins from plugin repository after Gradle 4.3 ...
As stated above, Gradle should not fail if a dependency does not exist at all in a repository. Only if the dependency exists...
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