소스 검색

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 년 전
부모
커밋
2a1237bfe0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      clover.gradle

+ 1
- 1
clover.gradle 파일 보기

@@ -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…
취소
저장