blob: e6149ae613ce9a2a86769715186436fe7989051c [file] [log] [blame]
apply plugin: org.robolectric.gradle.RoboJavaModulePlugin
// test with a project that depends on the stubs jar, not org.robolectric:android-all
dependencies {
api project(":robolectric")
api "junit:junit:4.13.1"
testImplementation files("${System.getenv("ANDROID_HOME")}/platforms/android-29/android.jar")
testCompileOnly AndroidSdk.MAX_SDK.coordinates // compile against latest Android SDK
testRuntime AndroidSdk.MAX_SDK.coordinates
testImplementation "com.google.truth:truth:1.0.1"
testImplementation "org.mockito:mockito-core:2.5.4"
testImplementation "org.hamcrest:hamcrest-junit:2.0.0.0"
}