// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() maven { url 'https://maven.google.com/' name 'Google' } google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:8.8.0' classpath 'com.google.gms:google-services:4.3.15' } } allprojects { repositories { jcenter() maven { url 'https://maven.google.com/' name 'Google' } google() //maven { url 'https://jitpack.io' } maven { url 'https://jitpack.io' } // for mpandroidchart } tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } } dependencies { } if (hasProperty('buildScan')) { buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service' termsOfServiceAgree = 'yes' } }