mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
Prefer Maven Central over jboss/shibboleth mirrors for resilience
This commit is contained in:
+8
-2
@@ -185,9 +185,14 @@ subprojects {
|
|||||||
allowInsecureProtocol = true
|
allowInsecureProtocol = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Maven Central first: it hosts the vast majority of artifacts, so Gradle
|
||||||
|
// never has to consult the slower/less-reliable mirrors below for them.
|
||||||
|
// shibboleth + jboss remain as fallbacks for the few artifacts only they
|
||||||
|
// serve (Gradle falls through on a 404). Keeping them ahead of Central
|
||||||
|
// meant a jboss outage (503) aborted resolution of common deps.
|
||||||
|
mavenCentral()
|
||||||
maven { url = "https://build.shibboleth.net/maven/releases" }
|
maven { url = "https://build.shibboleth.net/maven/releases" }
|
||||||
maven { url = "https://repository.jboss.org/" }
|
maven { url = "https://repository.jboss.org/" }
|
||||||
mavenCentral()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.configureEach {
|
configurations.configureEach {
|
||||||
@@ -583,8 +588,9 @@ repositories {
|
|||||||
allowInsecureProtocol = true
|
allowInsecureProtocol = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
maven { url = "https://build.shibboleth.net/maven/releases" }
|
// Maven Central first (see note in the subprojects repositories block above).
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven { url = "https://build.shibboleth.net/maven/releases" }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
Reference in New Issue
Block a user