mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
The CI runner's egress IP is rate-limited by repo.maven.apache.org (HTTP 429 on a Robolectric native runtime jar), and a missing Gradle cache then breaks the run. Try Google's Maven Central mirror first and fall back to the canonical repository.
31 lines
796 B
Kotlin
31 lines
796 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
maven("https://maven-central.storage-download.googleapis.com/maven2/") {
|
|
name = "MavenCentralMirror"
|
|
}
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
maven("https://maven-central.storage-download.googleapis.com/maven2/") {
|
|
name = "MavenCentralMirror"
|
|
}
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "subtracks"
|
|
include(":app")
|