build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
maven{ url 'https://dl.bintray.com/android/android-tools'}
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'org.jacoco:org.jacoco.core:0.8.0'
classpath 'com.google.gms:google-services:4.0.1'
// classpath 'com.google.gms:google-services:4.1.0' // google-services plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven{ url 'https://dl.bintray.com/android/android-tools'}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}