blob: e9f282c4b79c3775e22fa7dadb3b8bf111e8d78f [file] [log] [blame]
import org.robolectric.gradle.AndroidProjectConfigPlugin
apply plugin: 'com.android.library'
apply plugin: AndroidProjectConfigPlugin
android {
compileSdkVersion 30
defaultConfig {
minSdkVersion 16
targetSdkVersion 30
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
}
dependencies {
implementation("androidx.appcompat:appcompat:1.2.0")
// Testing dependencies
testImplementation project(path: ':testapp')
testImplementation project(":robolectric")
testImplementation "junit:junit:${junitVersion}"
testImplementation("androidx.test:core:$axtVersion")
testImplementation("androidx.core:core:1.5.0-beta03")
testImplementation("androidx.test:runner:$axtVersion")
testImplementation("androidx.test:rules:$axtVersion")
testImplementation("androidx.test.espresso:espresso-intents:$espressoVersion")
testImplementation("androidx.test.ext:truth:$axtVersion")
// TODO: this should be a transitive dependency of core...
testImplementation("androidx.lifecycle:lifecycle-common:2.2.0")
testImplementation("androidx.test.ext:junit:$axtJunitVersion")
testImplementation("com.google.truth:truth:${truthVersion}")
}