Skip to content

Commit c5438a1

Browse files
committed
Intermediate release. Adding codacy coverage
1 parent ac1f30c commit c5438a1

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ext {
2323
}
2424

2525
apply plugin: 'java'
26+
apply from: "$projectDir/gradle/coverage.gradle"
2627
apply from: "$projectDir/gradle/publishing.gradle"
2728

2829
repositories {
@@ -34,7 +35,7 @@ repositories {
3435
}
3536

3637
group = 'io.engagingspaces'
37-
version = '1.0.0'
38+
version = '0.9.1'
3839

3940
task docProcessing(type: JavaCompile, group: 'build') {
4041
source = sourceSets.main.java

gradle/coverage.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apply plugin: 'jacoco'
2+
3+
jacoco {
4+
toolVersion = '0.7.6.201602180812'
5+
}
6+
7+
jacocoTestReport {
8+
dependsOn "test"
9+
10+
group = "Reporting"
11+
description = "Generate code coverage results using JaCoCo."
12+
13+
reports {
14+
xml.enabled = true
15+
csv.enabled = false
16+
html.enabled = true
17+
html.destination "$buildDir/jacocoHtml"
18+
}
19+
}

0 commit comments

Comments
 (0)