This message was deleted.
# community-support
s
This message was deleted.
v
Hard to say without seeing your build script or an MCVE. Usually you have a list of repositories and Gradle checks one after the other for the dependencies. If it gets a server error for one repo like here, it might be the case that it is not looking further, but errors out. Usually plugins should not silently add repositories to the list though, that's very bad practice for several reasons.
e
Copy code
repositories {
    mavenCentral()
    gradlePluginPortal()
    // Spock snapshots are available from the Sonatype OSS snapshot repository
    maven { url "<https://oss.sonatype.org/content/repositories/snapshots/>" }
    maven{
        url "<https://packages.confluent.io/maven/>"
    }
    // needed for dataflow
    jcenter()
    ivy {
        url '<https://dl.bintray.com/content/johnrengelman/gradle-plugins>'
    }
}
I would have thought that Gradle would try the repos in order of there definition... is this wrong?
v
No, that's correct
1
And there you have your Maven Central 🙂
e
And I know
org.apache.spark:spark-core_2.13:3.1.1
is in Maven Central
But Gradle/shadowJar is not looking there...
v
Well, not sure, but you should probably remove that bintray repo anyway, iirc all bintray repos were shut down which is probably also the cause you get a 502 error
No, it is not in Maven Central
Versions start with 3.2.0, no 3.1.1 to be found
Maybe you meant 3.3.1?
1
e
Doh!
Up way too late last night... changing too many versions...
We really need to start using Version Catalog...
👌 1