Make jacocoTestReport task not dependent on running UI tests
This commit is contained in:
parent
764c3fa72e
commit
ef6810bf45
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ def keystoreProperties = new Properties()
|
||||||
try {
|
try {
|
||||||
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException ignored) {
|
||||||
logger.warn("Unable to load keystore properties. Automatic signing won't be available")
|
logger.warn("Unable to load keystore properties. Automatic signing won't be available")
|
||||||
keystoreProperties['keyAlias'] = ""
|
keystoreProperties['keyAlias'] = ""
|
||||||
keystoreProperties['keyPassword'] = ""
|
keystoreProperties['keyPassword'] = ""
|
||||||
|
@ -125,7 +125,7 @@ tasks.withType(Test) {
|
||||||
jacoco.includeNoLocationClasses = true
|
jacoco.includeNoLocationClasses = true
|
||||||
}
|
}
|
||||||
|
|
||||||
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'createDebugCoverageReport']) {
|
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) {
|
||||||
reports {
|
reports {
|
||||||
xml.enabled = true
|
xml.enabled = true
|
||||||
html.enabled = true
|
html.enabled = true
|
||||||
|
|
Loading…
Reference in a new issue