mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
Robolectric resolves android-all-instrumented itself at test time with MavenArtifactFetcher, whose default repository is repo1.maven.org. The Gradle mirror in settings.gradle.kts never applied to that fetch, so the CI egress IP still got HTTP 429 there. That fetcher also stores the jar in ~/.m2/repository, outside the ~/.gradle/caches directory CI restores, so every ephemeral runner downloaded it again. Point robolectric.dependency.repo.url at the same mirror for every Test task and cache the Robolectric Maven repository in both workflows, keyed by the Robolectric version and the configured SDK.
14 lines
387 B
Properties
14 lines
387 B
Properties
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.configuration-cache.problems=warn
|
|
org.gradle.daemon.idletimeout=600000
|
|
|
|
android.useAndroidX=true
|
|
android.nonTransitiveRClass=true
|
|
|
|
kotlin.code.style=official
|
|
|
|
mavenCentralMirrorUrl=https://maven-central.storage-download.googleapis.com/maven2/
|