blob: c8ab4f40e18b6139b389cec065b7d1f3fede862b [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"
}
aaptOptions {
noCompress 'txt'
}
}
dependencies {
implementation project(path: ':testapp')
implementation project(path: ':shadowapi', configuration: 'default')
testImplementation project(":robolectric")
testImplementation "junit:junit:${junitVersion}"
testImplementation("androidx.test:monitor:$axtVersion")
testImplementation("androidx.test:runner:$axtVersion")
testImplementation("androidx.test:rules:$axtVersion")
testImplementation("androidx.test.ext:junit:$axtJunitVersion")
testImplementation("androidx.test.ext:truth:$axtVersion")
testImplementation("androidx.test:core:$axtVersion")
testImplementation("com.google.truth:truth:${truthVersion}")
testImplementation("com.google.guava:guava:27.0.1-jre")
// Testing dependencies
androidTestImplementation("androidx.test:monitor:$axtVersion")
androidTestImplementation("androidx.test:runner:$axtVersion")
androidTestImplementation("androidx.test:rules:$axtVersion")
androidTestImplementation("androidx.test.ext:junit:$axtJunitVersion")
androidTestImplementation("com.google.truth:truth:${truthVersion}")
androidTestImplementation("com.google.guava:guava:27.0.1-jre")
}