Mercurial > public > develkit
comparison metrics.gradle @ 130:253374129034
CM-133: disable jacoco task. causing errors in some tests (java1.7?)
author | smith@nwoca.org |
---|---|
date | Wed, 05 Jun 2013 15:45:28 +0100 |
parents | c93df17513f1 |
children | ca34c067b178 |
comparison
equal
deleted
inserted
replaced
129:bef2bfc61f6e | 130:253374129034 |
---|---|
32 def javaProject = project.plugins.hasPlugin('java') | 32 def javaProject = project.plugins.hasPlugin('java') |
33 | 33 |
34 if (groovyProject || javaProject) { | 34 if (groovyProject || javaProject) { |
35 project.apply plugin: 'jacoco' | 35 project.apply plugin: 'jacoco' |
36 | 36 |
37 project.test { | |
38 jacoco { | |
39 enabled = false | |
40 } | |
41 } | |
37 project.jacocoTestReport { | 42 project.jacocoTestReport { |
38 if (groovyProject) { | 43 if (groovyProject) { |
39 sourceDirectories = files(sourceSets.main.allGroovy.srcDirs) | 44 sourceDirectories = files(sourceSets.main.allGroovy.srcDirs) |
40 classDirectories = files(project.sourceSets.main.output.classesDir) | 45 classDirectories = files(project.sourceSets.main.output.classesDir) |
41 } | 46 } |