blob: 50dc888401c46b1cc6a98c6b8363ab23dd4488f1 [file] [log] [blame]
apply plugin: 'com.android.library'
apply plugin: org.robolectric.gradle.AndroidProjectConfigPlugin
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
}
lintOptions {
abortOnError false
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
defaultConfig {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
}
dependencies {
implementation project(path: ':testapp', configuration: 'default')
implementation project(path: ':shadowapi', configuration: 'default')
testImplementation project(":robolectric")
testImplementation "junit:junit:4.12"
testImplementation("androidx.test:monitor:1.3.0-alpha01")
testImplementation("androidx.test:runner:1.3.0-alpha01")
testImplementation("androidx.test:rules:1.3.0-alpha01")
testImplementation("androidx.test.ext:junit:1.1.2-alpha01")
testImplementation("androidx.test.ext:truth:1.3.0-alpha01")
testImplementation("androidx.test:core:1.2.1-alpha01")
testImplementation("com.google.truth:truth:0.45")
testImplementation("com.google.guava:guava:27.0.1-jre")
// Testing dependencies
androidTestImplementation("androidx.test:monitor:1.3.0-alpha01")
androidTestImplementation("androidx.test:runner:1.3.0-alpha01")
androidTestImplementation("androidx.test:rules:1.3.0-alpha01")
androidTestImplementation("androidx.test.ext:junit:1.1.2-alpha01")
androidTestImplementation("com.google.truth:truth:0.45")
androidTestImplementation("com.google.guava:guava:27.0.1-jre")
}