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
2.25.3 is unavailable on Gradle repository #1203
Comments
It seems to be on mavenCentral:
Seems like you're using a non-standard repository configuration. https://github.com/mockito/mockito/blob/f59bf37187ec974a5cec94121158603fef1f597d/build.gradle#L2-L6 Happy to change our publishing process if there's something helpful we can do, but I don't know how to force |
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 pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
}
} |
This solves the issue for me. Is there any statement of the gradle folks about a change concerning mirroring? |
Weird, I just confirmed there has been some kind of change. For I described the behavior change and asked the Gradle team about it here. |
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. |
Thanks @ljacomet !
|
I successfully merged the Dependabot PR after the fix from the Gradle folks. Thanks for the quick resolution! |
https://github.com/mockito/mockito/runs/6394267570?check_suite_focus=true fails resolving 2.25.3 for
com.diffplug.spotless:spotless-lib
andcom.diffplug.spotless:spotless-lib-extra
Gradle version 7.3.1
Spotless version 6.6.0
Corresponding Dependabot PR at mockito/mockito#2641
The text was updated successfully, but these errors were encountered: