import groovy.json.JsonSlurper // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.4' } } allprojects { repositories { jcenter() maven { url "https://jitpack.io" } google() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } } task clean(type: Delete) { delete rootProject.buildDir } ext { versions = new JsonSlurper().parse(file('./project-versions.json')) }