Skip to content

Commit 5e52cb8

Browse files
committed
added jacoco plugin
1 parent a67cdb9 commit 5e52cb8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

app/build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
apply plugin: 'com.android.application'
22
apply plugin: 'spoon'
3-
4-
3+
apply plugin: 'jacoco'
4+
jacoco {
5+
toolVersion='0.7.5.201505241946'
6+
}
57
buildscript {
68
repositories {
79
mavenCentral()
@@ -29,6 +31,9 @@ android {
2931
minifyEnabled false
3032
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3133
}
34+
debug {
35+
testCoverageEnabled true
36+
}
3237
}
3338
}
3439

@@ -39,7 +44,7 @@ dependencies {
3944
testImplementation 'junit:junit:4.12'
4045
androidTestImplementation 'com.android.support.test:runner:1.0.1'
4146
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
42-
androidTestCompile 'com.squareup.spoon:spoon-client:1.7.1'
47+
androidTestImplementation 'com.squareup.spoon:spoon-client:1.7.1'
4348
}
4449

4550
spoon {

0 commit comments

Comments
 (0)