// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.1.51' repositories { jcenter() mavenCentral() google() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { mavenLocal() jcenter() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } google() } } ext{ compileSdkVersion = 27 buildToolsVersion = "27.0.0" supportLibraryVersion = "27.0.1" constraintLayoutVersion = "1.0.2" archCompVersion = "1.0.0" minSDK = 22 targetSDK = 27 } task clean(type: Delete) { delete rootProject.buildDir }