Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
android {
compileSdkVersion 27
defaultConfig {
applicationId 'net.rafaeltoledo.coverage'
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName '1.0'
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
buildTypes {
debug {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
testOptions {
execution 'ANDROID_TEST_ORCHESTRATOR'
animationsDisabled true
unitTests {
includeAndroidResources = true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment