Browse Source

Fix clover appearing again.

Groovy let me shoot myself in the foot by allowing a string in
a boolean condition... and "false" evaluates to true. Argh.
pull/15/head
Chris Smith 9 years ago
parent
commit
2a1237bfe0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      clover.gradle

+ 1
- 1
clover.gradle View File

@@ -15,7 +15,7 @@ allprojects {
15 15
     apply plugin: 'clover'
16 16
 
17 17
     clover {
18
-        includeTasks = rootProject.enableClover ? [] : ['none']
18
+        includeTasks = Boolean.valueOf(rootProject.enableClover) ? [] : ['none']
19 19
 
20 20
         licenseLocation = "$rootDir/etc/clover/clover.license"
21 21
 

Loading…
Cancel
Save