For some reason a few hours ago our CI started breaking when the swagger v3 gradle plugin URL began redirecting to jcenter. I can’t tell if this is something they need to fix or if its breakage with the plugin service itself
full error:
A problem occurred configuring project ':backend:servicer-api'.
> Could not resolve all artifacts for configuration ':backend:servicer-api:classpath'.
> Could not resolve io.swagger.core.v3:swagger-gradle-plugin:2.1.12.
Required by:
project :backend:servicer-api > io.swagger.core.v3.swagger-gradle-plugin:io.swagger.core.v3.swagger-gradle-plugin.gradle.plugin:2.1.12
> Could not resolve io.swagger.core.v3:swagger-gradle-plugin:2.1.12.
> Could not get resource 'https://plugins.gradle.org/m2/io/swagger/core/v3/swagger-gradle-plugin/2.1.12/swagger-gradle-plugin-2.1.12.module'.
> Could not GET 'https://jcenter.bintray.com/io/swagger/core/v3/swagger-gradle-plugin/2.1.12/swagger-gradle-plugin-2.1.12.module'. Received status code 502 from server: Bad Gateway
Similar issue but for a different plugin - what do you normally do here? Just wait for it to be fixed?
I’ve been using this plugin to generate TypeScript: classpath group: 'cz.habarta.typescript-generator', name: 'typescript-generator-gradle-plugin', version: '2+'
But this link doesn’t have habarta listed and jcenter doesn’t know what to do besides return a 502 https://plugins.gradle.org/m2/cz/
Currently, if a Gradle plugin needs to be fetched, it seems to hit JCenter. JCenter is down and is returning an HTTP 502. Can we get an update from Gradle team on what’s being done to work around this?
We faced with similar issue yesterday. But it’s strange, because we don’t have dependencies to jcenter in builde.gradle file. We have dependencies only to MavenCentral and to Gradle Plugin Portal (https://plugins.gradle.org/m2/).
It means, that Gradle Plugin still redirects some data to/from to jcenter?
It was announced, that jcenter will be shotdown on 01.02.2022 (JFrog to Shut down JCenter and Bintray).
And in another article it says that it’s planned to migrate Plugin Portal away from JCenter before the final shutdown (JCenter shutdown impact on Gradle builds). It’s not done yet?
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'qa-auto-sss'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve ru.action_tech:ghelper:2.+.
Required by:
project :
> Failed to list versions for ru.action_tech:ghelper.
> Unable to load Maven meta-data from https://plugins.gradle.org/m2/ru/action_tech/ghelper/maven-metadata.xml.
> Could not get resource 'https://plugins.gradle.org/m2/ru/action_tech/ghelper/maven-metadata.xml'.
> Could not GET 'https://jcenter.bintray.com/ru/action_tech/ghelper/maven-metadata.xml'.
> Read timed out
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10.
Required by:
project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.10
> Skipped due to earlier error
I’m running ./gradlew --refresh-dependencies and getting
> Could not resolve all files for configuration ':classpath'.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.21.
Required by:
project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.7.21 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.21.
> Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.7.21/kotlin-gradle-plugin-api-1.7.21.pom'.
> Could not HEAD 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.7.21/kotlin-gradle-plugin-api-1.7.21.pom'.
> PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.7.21/kotlin-gradle-plugin-api-1.7.21.pom returns status code 303 "See Other" redirecting to https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.7.21/kotlin-gradle-plugin-api-1.7.21.pom