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