blob: 541f8cfb6f9e497de2881dd71150ca2c1e2ca847 [file] [log] [blame]
apply plugin: 'com.android.library'
apply plugin: org.robolectric.gradle.AndroidProjectConfigPlugin
android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
}
dependencies {
implementation("androidx.appcompat:appcompat:1.0.0")
// Testing dependencies
testImplementation project(path: ':testapp', configuration: 'default')
testImplementation project(":robolectric")
testImplementation "junit:junit:4.12"
testImplementation("androidx.test:core:1.2.1-alpha01")
testImplementation("androidx.core:core:1.1.0-alpha05")
testImplementation("androidx.test:runner:1.3.0-alpha01")
testImplementation("androidx.test:rules:1.3.0-alpha01")
testImplementation("androidx.test.espresso:espresso-intents:3.3.0-alpha01")
testImplementation("androidx.test.espresso:espresso-core:3.3.0-alpha01")
testImplementation("androidx.test.ext:truth:1.3.0-alpha01")
// TODO: this should be a transitive dependency of core...
testImplementation("androidx.lifecycle:lifecycle-common:2.0.0")
testImplementation("androidx.test.ext:junit:1.1.2-alpha01")
testImplementation("com.google.truth:truth:0.44")
}