瀏覽代碼

Temorarily disable clover haxily.

Setting enabled=false still loads clover and expects a license,
it just doesn't instrument.

Define includeTasks so we don't include any real tasks as a
work-around for this.

Not entirely sure how to enable it again at runtime though :)
pull/12/head
Chris Smith 9 年之前
父節點
當前提交
47d5060931
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      clover.gradle

+ 3
- 0
clover.gradle 查看文件

@@ -15,6 +15,8 @@ allprojects {
15 15
     apply plugin: 'clover'
16 16
 
17 17
     clover {
18
+        includeTasks = ['none']
19
+
18 20
         licenseLocation = "$rootDir/etc/clover/clover.license"
19 21
 
20 22
         report {
@@ -29,5 +31,6 @@ allprojects {
29 31
     }
30 32
 
31 33
     cloverGenerateReport.dependsOn ':getCloverCredentials'
34
+
32 35
 }
33 36
 

Loading…
取消
儲存