diff --git a/app/build.gradle b/app/build.gradle index 5e822b11cc..dcbdde7f9b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,10 +1,12 @@ buildscript { repositories { jcenter() + maven { url "https://plugins.gradle.org/m2/" } // jacoco 0.2 } dependencies { - classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4' + //classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4' + classpath 'com.hiya:jacoco-android:0.2' } } apply plugin: 'com.android.application' @@ -12,7 +14,8 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply plugin: 'com.google.gms.google-services' -apply plugin: 'jacoco-android' +//apply plugin: 'jacoco-android' +apply plugin: 'com.hiya.jacoco-android' apply plugin: 'com.google.firebase.crashlytics' jacoco { diff --git a/build.gradle b/build.gradle index 89449cca58..aeeb75768d 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.6.3' + classpath 'com.android.tools.build:gradle:4.0.1' classpath 'com.google.gms:google-services:4.3.3' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.1.1' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index dc6471224f..99c53485da 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sat Feb 29 21:28:06 CET 2020 +#Tue Jul 28 23:15:57 CEST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip diff --git a/wear/build.gradle b/wear/build.gradle index 94441d025d..2443fd17c8 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -1,14 +1,17 @@ buildscript { repositories { jcenter() + maven { url "https://plugins.gradle.org/m2/" } // jacoco 0.2 } dependencies { - classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4' + //classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4' + classpath 'com.hiya:jacoco-android:0.2' } } apply plugin: 'com.android.application' -apply plugin: 'jacoco-android' +//apply plugin: 'jacoco-android' +apply plugin: 'com.hiya.jacoco-android' jacoco { toolVersion = "0.8.3" @@ -125,7 +128,7 @@ dependencies { testImplementation 'junit:junit:4.13' testImplementation 'org.json:json:20200518' - testImplementation ("org.mockito:mockito-core:2.8.47") { + testImplementation("org.mockito:mockito-core:2.8.47") { exclude group: 'net.bytebuddy', module: 'byte-buddy' exclude group: 'net.bytebuddy', module: 'byte-buddy-android' exclude group: 'net.bytebuddy', module: 'byte-buddy-agent'