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 {
|
||||
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
} catch (FileNotFoundException e) {
|
||||
} catch (FileNotFoundException ignored) {
|
||||
logger.warn("Unable to load keystore properties. Automatic signing won't be available")
|
||||
keystoreProperties['keyAlias'] = ""
|
||||
keystoreProperties['keyPassword'] = ""
|
||||
|
@ -125,7 +125,7 @@ tasks.withType(Test) {
|
|||
jacoco.includeNoLocationClasses = true
|
||||
}
|
||||
|
||||
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'createDebugCoverageReport']) {
|
||||
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) {
|
||||
reports {
|
||||
xml.enabled = true
|
||||
html.enabled = true
|
||||
|
|
Loading…
Reference in a new issue