Downgrade jacoco to 0.7.4.201502262128 as a workaround for 'stuck in endless loop' issue

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=151554130
This commit is contained in:
eguven 2017-03-29 02:41:19 -07:00 committed by Oliver Woodman
parent 103c3b631b
commit 68b8a5e542
2 changed files with 11 additions and 6 deletions

View File

@ -19,8 +19,15 @@ buildscript {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.novoda:bintray-release:0.4.0'
}
// Workaround for the following test coverage issue. Remove when fixed:
// https://code.google.com/p/android/issues/detail?id=226070
configurations.all {
resolutionStrategy {
force 'org.jacoco:org.jacoco.report:0.7.4.201502262128'
force 'org.jacoco:org.jacoco.core:0.7.4.201502262128'
}
}
}
allprojects {
repositories {
jcenter()

View File

@ -30,11 +30,9 @@ android {
}
buildTypes {
// Re-enable test coverage when the following issue is fixed:
// https://code.google.com/p/android/issues/detail?id=226070
// debug {
// testCoverageEnabled = true
// }
debug {
testCoverageEnabled = true
}
}
}