I need to control the ordering of jars in the testRuntime configuration.
I must make sure that robolectric-x.x.jar comes before android.jar, or else I get the dreade
This might work:
configurations { robo } dependencies { robo ... testRuntime ... } sourceSets.test.runtimeClasspath = configurations.robo + sourceSets.test.runtimeClasspath