File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
transport/transport-backend-cct Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ android {
50
50
}
51
51
testOptions {
52
52
unitTests. all {
53
- systemProperty ' robolectric.dependency.repo.url' , ' https://repo1.maven.org/maven2'
54
53
systemProperty ' javax.net.ssl.trustStore' , ' NONE'
55
54
}
56
55
}
@@ -72,7 +71,18 @@ dependencies {
72
71
testImplementation ' junit:junit:4.12'
73
72
testImplementation " com.google.truth:truth:$googleTruthVersion "
74
73
testImplementation ' com.google.truth.extensions:truth-proto-extension:1.0'
75
- testImplementation ' com.github.tomakehurst:wiremock:2.26.3'
74
+ testImplementation ' com.github.tomakehurst:wiremock:2.26.3' {
75
+ // Allows us to use the Android version of Apache httpclient instead
76
+ exclude group : ' org.apache.httpcomponents' , module : ' httpclient'
77
+
78
+ // Resolves the Duplicate Class Exception
79
+ // duplicate entry: org/objectweb/asm/AnnotationVisitor.class
80
+ exclude group : ' asm' , module : ' asm'
81
+
82
+ // Fixes Warning conflict with Android's version of org.json
83
+ // org.json:json:20090211 is ignored for debugAndroidTest as it may be conflicting with the internal version provided by Android.
84
+ exclude group : ' org.json' , module : ' json'
85
+ }
76
86
// Android compatible version of Apache httpclient.
77
87
testImplementation ' org.apache.httpcomponents:httpclient-android:4.3.5.1'
78
88
testImplementation ' org.robolectric:robolectric:4.3.1'
You can’t perform that action at this time.
0 commit comments