You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/11/15 10:07:53 UTC

[GitHub] shushu2013 commented on issue #1738: Android 0.19.0版本引入jacoco 的问题你们不打算解决下了吗,我是服了,牛逼。

shushu2013 commented on issue #1738: Android 0.19.0版本引入jacoco  的问题你们不打算解决下了吗,我是服了,牛逼。
URL: https://github.com/apache/incubator-weex/issues/1738#issuecomment-438986793
 
 
   试试把 weex 的 build.gradle 中 release 选项的 testCoverageEnabled 设为 false
   
   ```
   buildTypes {
           release {
               minifyEnabled false
               testCoverageEnabled true
               proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
               buildConfigField "boolean", "ENABLE_TRACE", "false"
               consumerProguardFiles 'proguard-rules.pro'
           }
   
           debug {
               buildConfigField "boolean", "ENABLE_TRACE", "true"
               jniDebuggable true
               debuggable true
               consumerProguardFiles 'proguard-rules.pro'
           }
       }
   ```
   [https://github.com/apache/incubator-weex/blob/0.19.0.2/android/sdk/build.gradle](https://github.com/apache/incubator-weex/blob/0.19.0.2/android/sdk/build.gradle)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services