# HG changeset patch # User smith@nwoca.org # Date 1351956085 -3600 # Node ID 740e905fce78515d5d1e32d7cd97faccd90db554 # Parent f84f1d5465c1b1908cf30f63972c66bdce90fbb8 execute cobertura for bamboo builds diff -r f84f1d5465c1 -r 740e905fce78 metrics.gradle --- 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