| 12-16 11:50:19.664 | info | TestRunner | ----- begin exception ----- |
| 12-16 11:50:19.667 | info | TestRunner | java.lang.IllegalArgumentException: resource assets not found. |
| 12-16 11:50:19.667 | info | TestRunner | at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145) |
| 12-16 11:50:19.667 | info | TestRunner | at com.google.common.io.Resources.getResource(Resources.java:197) |
| 12-16 11:50:19.667 | info | TestRunner | at com.github.tomakehurst.wiremock.jetty9.JettyHttpServer.addAdminContext(JettyHttpServer.java:291) |
| 12-16 11:50:19.667 | info | TestRunner | at com.github.tomakehurst.wiremock.jetty9.JettyHttpServer.<init>(JettyHttpServer.java:98) |
| 12-16 11:50:19.667 | info | TestRunner | at com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory.buildHttpServer(JettyHttpServerFactory.java:31) |
| 12-16 11:50:19.667 | info | TestRunner | at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:73) |
compile("com.github.tomakehurst:wiremock:2.2.2") {
//Using Android Version Instead
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
//Version conflict with our app's slf4j version
exclude group: 'org.slf4j', module: 'slf4j-api'
//Was getting a classpath conflict for org.objectweb.asm.AnnotationVisitor which is a part of 'net.minidev:asm'
exclude group: 'org.ow2.asm', module: 'asm'
//Was getting this warning, so decided to ignore this version included by WireMock.
//Warning:Dependency org.json:json:20090211 is ignored as it may be conflicting with the internal version provided by Android.
//In case of problem, please repackage with jarjar to change the class packages
exclude group: 'org.json', module: 'json'
}
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
Hope that helps. Cheers,
Sam