This repository was archived by the owner on Oct 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ buildscript {
22 repositories {
33 jcenter()
44 google()
5+ mavenCentral()
56 }
67
78 dependencies {
89 classpath ' com.android.tools.build:gradle:3.2.1'
910 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
10- classpath ' com.dicedmelon.gradle:jacoco -android:0.1.3 '
11+ classpath ' com.vanniktech:gradle -android-junit-jacoco-plugin :0.13.0 '
1112 }
1213}
1314
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2- apply plugin : ' jacoco- android'
2+ apply plugin : " com.vanniktech. android.junit.jacoco "
33
44android {
55 compileSdkVersion compileSdk
@@ -28,6 +28,11 @@ android {
2828 }
2929}
3030
31+ // Needed in order to process Robolectric tests when running JaCoCo
32+ junitJacoco {
33+ includeNoLocationClasses = true
34+ }
35+
3136dependencies {
3237 api " com.android.support:appcompat-v7:$support_library_version "
3338 api " com.android.support:support-compat:$support_library_version "
@@ -40,9 +45,4 @@ dependencies {
4045 testImplementation ' org.mockito:mockito-core:2.18.0'
4146}
4247
43- // Needed in order to process Robolectric tests when running JaCoCo
44- tasks. withType(Test ) {
45- jacoco. includeNoLocationClasses = true
46- }
47-
4848apply from : ' bintray.gradle'
You can’t perform that action at this time.
0 commit comments