mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 23:40:26 -04:00
configure coverage enabled for all debug build types
This commit is contained in:
parent
4adfa6b978
commit
ff9c3e1852
@ -61,7 +61,6 @@ android {
|
|||||||
|
|
||||||
debug {
|
debug {
|
||||||
multiDexKeepProguard file("multidex-instrumentation-config.pro")
|
multiDexKeepProguard file("multidex-instrumentation-config.pro")
|
||||||
testCoverageEnabled true
|
|
||||||
buildConfigField "boolean", "KIWIX_ERROR_ACTIVITY", "false"
|
buildConfigField "boolean", "KIWIX_ERROR_ACTIVITY", "false"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,6 +50,12 @@ class AllProjectConfigurer {
|
|||||||
setTargetSdkVersion(Config.targetSdk)
|
setTargetSdkVersion(Config.targetSdk)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildTypes {
|
||||||
|
getByName("debug").apply {
|
||||||
|
isTestCoverageEnabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
compileOptions.apply {
|
compileOptions.apply {
|
||||||
encoding = "UTF-8"
|
encoding = "UTF-8"
|
||||||
sourceCompatibility = Config.javaVersion
|
sourceCompatibility = Config.javaVersion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user