Skip to content

Commit 56bba0a

Browse files
committed
Fix robolectric repo url
1 parent cb5590b commit 56bba0a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

transport/transport-backend-cct/transport-backend-cct.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ android {
4848
sourceCompatibility = '1.8'
4949
targetCompatibility = '1.8'
5050
}
51+
testOptions {
52+
unitTests.all {
53+
systemProperty 'robolectric.dependency.repo.url', 'https://repo1.maven.org/maven2'
54+
systemProperty 'javax.net.ssl.trustStore', 'NONE'
55+
}
56+
}
5157
}
5258

5359
dependencies {
@@ -75,7 +81,3 @@ dependencies {
7581
androidTestImplementation 'androidx.test:runner:1.2.0'
7682
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
7783
}
78-
79-
tasks.withType(Test) {
80-
systemProperty 'javax.net.ssl.trustStore', 'NONE'
81-
}

0 commit comments

Comments
 (0)