// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url "https://jitpack.io" } maven { url "https://maven.fabric.io/public" } google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.3.2' classpath 'com.google.gms:google-services:4.2.0' classpath 'io.fabric.tools:gradle:1.26.1' classpath 'org.ajoberstar.grgit:grgit-core:3.0.0' // Also change in app/gradle/grgit.gradle } } allprojects { repositories { maven { url "https://jitpack.io" } maven { url "https://maven.google.com" } jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }