This change to settings.gradle
is working for me:
// settings.gradle
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
HT to Received status code 524 from server: Origin Time-out - #6 by SteinGaming. Essentially forces Gradle to try Maven Central first and avoid the JCenter outage.