build files for griffon
This commit is contained in:
18
gui/gradle/code-coverage.gradle
Normal file
18
gui/gradle/code-coverage.gradle
Normal file
@@ -0,0 +1,18 @@
|
||||
apply plugin: 'jacoco'
|
||||
|
||||
jacoco {
|
||||
toolVersion = '0.7.9'
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
group = 'Reporting'
|
||||
description = 'Generate Jacoco coverage reports after running tests.'
|
||||
additionalSourceDirs = project.files(sourceSets.main.allSource.srcDirs)
|
||||
sourceDirectories = project.files(sourceSets.main.allSource.srcDirs)
|
||||
classDirectories = project.files(sourceSets.main.output)
|
||||
reports {
|
||||
xml.enabled = true
|
||||
csv.enabled = false
|
||||
html.enabled = true
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user