Also exclude test coverage from instrumentation
This commit is contained in:
parent
6d7415fed2
commit
c18b299606
|
@ -1,8 +1,6 @@
|
|||
apply from: "${rootDir}/gradle/java.gradle"
|
||||
apply from: "${rootDir}/gradle/test-with-scala.gradle"
|
||||
|
||||
excludedClassesConverage += ['*']
|
||||
|
||||
dependencies {
|
||||
testCompile project(':dd-trace-api')
|
||||
testCompile project(':dd-trace-ot')
|
||||
|
|
|
@ -4,7 +4,9 @@ apply plugin: 'groovy'
|
|||
apply from: "$rootDir/gradle/checkstyle.gradle"
|
||||
apply from: "$rootDir/gradle/codenarc.gradle"
|
||||
|
||||
def applyCodeCoverage = !project.plugins.hasPlugin('com.github.johnrengelman.shadow')
|
||||
def applyCodeCoverage = !(project.plugins.hasPlugin('com.github.johnrengelman.shadow')
|
||||
|| project.path.startsWith(":dd-java-agent:instrumentation:"))
|
||||
|
||||
if (applyCodeCoverage) {
|
||||
apply from: "$rootDir/gradle/jacoco.gradle"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue