Mercurial > public > develkit
diff metrics.gradle @ 119:740e905fce78
execute cobertura for bamboo builds
author | smith@nwoca.org |
---|---|
date | Sat, 03 Nov 2012 16:21:25 +0100 |
parents | f84f1d5465c1 |
children | b2532280341e |
line wrap: on
line diff
--- a/metrics.gradle Thu Nov 01 21:18:20 2012 +0100 +++ b/metrics.gradle Sat Nov 03 16:21:25 2012 +0100 @@ -77,10 +77,14 @@ coverageFormat = 'xml' } } - + + if (gradle.bambooBuild) { + build.dependsOn 'cobertura' + } + } - root.allprojects { + root.allprojects { def thisProject = delegate def usesGroovy = thisProject.configurations.any { it.name == 'groovy' } @@ -96,7 +100,7 @@ } } } - + } } } \ No newline at end of file