blob: 3b532512a88316e442d78d791007513ef905968d [file] [log] [blame]
import org.robolectric.gradle.AndroidProjectConfigPlugin
apply plugin: 'com.android.library'
apply plugin: AndroidProjectConfigPlugin
android {
compileSdkVersion 30
defaultConfig {
minSdkVersion 16
targetSdkVersion 30
}
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:${junitVersion}"
testImplementation("androidx.test:monitor:1.4.0-alpha04")
testImplementation("androidx.test:runner:1.4.0-alpha04")
testImplementation("androidx.test:rules:1.4.0-alpha04")
testImplementation("androidx.test.ext:junit:1.1.3-alpha04")
testImplementation("androidx.test.ext:truth:1.4.0-alpha04")
testImplementation("androidx.test:core:1.4.0-alpha04")
testImplementation("com.google.truth:truth:${truthVersion}")
testImplementation("com.google.guava:guava:27.0.1-jre")
// Testing dependencies
androidTestImplementation("androidx.test:monitor:1.4.0-alpha04")
androidTestImplementation("androidx.test:runner:1.4.0-alpha04")
androidTestImplementation("androidx.test:rules:1.4.0-alpha04")
androidTestImplementation("androidx.test.ext:junit:1.1.3-alpha04")
androidTestImplementation("com.google.truth:truth:${truthVersion}")
androidTestImplementation("com.google.guava:guava:27.0.1-jre")
}