arturdm / arturdm/jacoco-android-gradle-plugin

Jacoco Task taking forever

Open
#60 7 comments 2 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
565
Forks
107
PR merge metrics
No merged PRs in 30d

Description

The Jacoco Task sometimes takes forever to run. Sometimes, it runs immediately and other times, it just gets stuck doing the same task over and over again. You can see the gradle task in the picture below. The gradle file (slimmed down to important info) looks like:
build.gradle Project Level
```
buildscript {
dependencies {
classpath('com.dicedmelon.gradle:jacoco-android:0.1.3') { exclude group: 'org.codehaus.groovy', module: 'groovy-all' }
}
}
```

build.gradle App Level
```gradle
apply plugin: 'jacoco-android'

android {
testOptions {
animationsDisabled true
unitTests {
includeAndroidResources = true
}
unitTests.all {
jvmArgs '-noverify'
jacoco {
includeNoLocationClasses = true
}
}
}
}

jacocoAndroidUnitTestReport {
csv.enabled true
html.enabled false
xml.enabled false
}
```

![image](https://user-images.githubusercontent.com/8825677/53278949-9bae7300-36c1-11e9-83f2-6455ca20e5ec.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.