In my gradle.build I defined as follow the block:
repositories {
maven {
url 'https://artifactory.mycompany.com/artifactory/maven-remote'
}
mavenCentral()
}
The first url defined 'https://artifactory.mycompany.com/artifactory/maven-remote'
times out and I expect the mavenCentral() to be used instead. This does not happens and the build fails simply for timeout. What is wrong here?