mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Add support for recording code coverage
This commit is contained in:
parent
3760ca95d5
commit
df8a823e41
@ -34,6 +34,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
project.ext.preDexLibs = !project.hasProperty('disablePreDex')
|
project.ext.preDexLibs = !project.hasProperty('disablePreDex')
|
||||||
|
project.ext.testCoverage = project.hasProperty('testCoverage')
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
project.plugins.whenPluginAdded { plugin ->
|
project.plugins.whenPluginAdded { plugin ->
|
||||||
@ -46,7 +47,7 @@ subprojects {
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 21
|
compileSdkVersion 21
|
||||||
buildToolsVersion '20.0.0'
|
buildToolsVersion '21.1.2'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
@ -82,6 +83,10 @@ android {
|
|||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debug {
|
||||||
|
testCoverageEnabled rootProject.testCoverage
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do not abort build if lint finds errors
|
// Do not abort build if lint finds errors
|
||||||
|
Loading…
Reference in New Issue
Block a user