Slackbot
10/30/2022, 7:33 PMKuba Petržílka
10/30/2022, 7:34 PMVampire
10/30/2022, 10:03 PMKuba Petržílka
10/30/2022, 10:26 PMVampire
10/30/2022, 10:40 PMKuba Petržílka
10/30/2022, 10:51 PMephemient
10/31/2022, 1:31 AMephemient
10/31/2022, 1:34 AMpluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
in `settings.gradle`(.kts
)thadhouse
10/31/2022, 2:58 AM진형욱
10/31/2022, 5:19 AMKuba Petržílka
10/31/2022, 7:18 AMKuba Petržílka
10/31/2022, 7:25 AMVampire
10/31/2022, 7:50 AMKuba Petržílka
10/31/2022, 8:14 AMMarcos Mercuri
10/31/2022, 9:28 AMWhat went wrong:
A problem occurred configuring root project 'backend'.
> Could not resolve all files for configuration ':classpath'.
> Could not find com.sonatype.nexus:nexus-platform-api:4.0.0-01.
Searched in the following locations:
- <https://plugins.gradle.org/m2/com/sonatype/nexus/nexus-platform-api/4.0.0-01/nexus-platform-api-4.0.0-01.pom>
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > org.sonatype.gradle.plugins.scan:org.sonatype.gradle.plugins.scan.gradle.plugin:2.5.1 > org.sonatype.gradle.plugins:scan-gradle-plugin:2.5.1
> Could not find com.pinterest.ktlint:ktlint-core:0.47.1.
The workaround mentioned didn't work as well.
I'm not sure what to try now. Any recommendations?Vampire
10/31/2022, 9:55 AM--refresh-dependencies
in case the resolution cache just has stale information.Marcos Mercuri
10/31/2022, 9:58 AM$> ./gradlew assemble --refresh-dependencies
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'rillet-backend'.
> Could not resolve all files for configuration ':classpath'.
> Could not find com.sonatype.nexus:nexus-platform-api:4.0.0-01.
Searched in the following locations:
- <https://plugins.gradle.org/m2/com/sonatype/nexus/nexus-platform-api/4.0.0-01/nexus-platform-api-4.0.0-01.pom>
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Vampire
10/31/2022, 10:10 AMMarcos Mercuri
10/31/2022, 10:11 AMrepositories {
mavenCentral()
}
Kuba Petržílka
10/31/2022, 10:13 AMVampire
10/31/2022, 10:17 AMyes, in the build.gradle.kts I have:That is not the mentioned work-around. You need to define it as plugin repository in your settings script, not as repository for your production code.
nexus-platform-api:4.0.0-01 is not in the plugin repo while ago there was just some older version 3.* and now there isn't anyThere never was any. The plugin portal redirects to JCenter for libs it does not have itself and JCenter forwards to Maven Central for libs it does not have. But the server-side work-around put in place by the Gradle guys is just a JCenter mirror without the forwarding to Maven Central, thus it is currently not resolvable if you only have the plugin portal as plugin repository.
Marcos Mercuri
10/31/2022, 10:53 AMthadhouse
10/31/2022, 10:58 AMVampire
10/31/2022, 11:08 AMthadhouse
10/31/2022, 11:23 AMKuba Petržílka
10/31/2022, 2:28 PMVampire
10/31/2022, 2:43 PMIt always just seems like the first response is to say it’s just another outageI'm not affiliated with Gradle, just sharing my experience.
That was definitely the case with past outages. And I’d like to see blog posts happen after the fact explaining what happened, and how gradle is working to mitigate the issues in the future.https://blog.gradle.org/plugins-jcenter
Like I had no clue that they started adding a mirror after last time, because they never did a post mortem for the last failure (at least a public one).Not true, see above
Louis Jacomet
10/31/2022, 3:01 PMDavid Chang
11/01/2022, 8:54 PMChristian Dietrich
11/07/2022, 6:53 PMLouis Jacomet
11/07/2022, 7:05 PM