mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-08-15 06:56:30 +00:00
Use canonical Maven repository for Robolectric
This commit is contained in:
parent
5dadf40213
commit
cd787df8bf
@ -151,3 +151,12 @@ dependencies {
|
||||
androidTestImplementation(libs.bundles.compose.testing)
|
||||
debugImplementation(libs.androidx.compose.ui.tooling)
|
||||
}
|
||||
|
||||
// Robolectric resolves Android runtime jars itself (outside Gradle dependency resolution).
|
||||
// Its legacy repo1 endpoint rejects cold GitHub-hosted runners with HTTP 403.
|
||||
tasks.withType<org.gradle.api.tasks.testing.Test>().configureEach {
|
||||
systemProperty(
|
||||
"robolectric.dependency.repo.url",
|
||||
"https://repo.maven.apache.org/maven2"
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user