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