Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Add codecov ignores #153

Merged
merged 5 commits into from
Apr 27, 2017
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ allprojects {

group = 'com.uber.jaeger'
version = '0.19.0-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down Expand Up @@ -114,10 +114,20 @@ task codeCoverageReport(type: JacocoReport, group: 'Coverage reports') {
}

reports {
html.enabled = false
html.enabled = true
xml.enabled = true
xml.destination = "${buildDir}/reports/jacoco/report.xml"
}

afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(dir: it,
exclude: ['**/crossdock/**',
'**/thrift/**',
'**/thriftjava/**',
])
})
}
}

configure(subprojects.findAll {it.name != 'jaeger-thrift'}) {
Expand Down
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage:
precision: 2