// 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://jitpack.io" } maven { url "https://maven.fabric.io/public" } google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' 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://jitpack.io" } maven { url "https://maven.google.com" } jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }