// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.1.3' repositories { google() jcenter() maven { url "http://www.atilika.org/nexus/content/repositories/atilika" } } dependencies { classpath 'com.android.tools.build:gradle:3.0.0-alpha3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // Kotlin Android Extensions classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" // Realm classpath "io.realm:realm-gradle-plugin:3.3.2" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() mavenCentral() } } task clean(type: Delete) { delete rootProject.buildDir }