my main gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.0'
ext.ankoVersion = "0.10.2"
ext.daggerVersion = "2.11"
ext.okhttpVersion = "3.9.0"
ext.picassoVersion = "2.5.2"
ext.priorityJobQueueVersion = "2.0.1"
ext.mockitoVersion = "2.8.47"
ext.retrofitVersion = "2.2.0"
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:4.3.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
mavenLocal()
maven { url 'https://jitpack.io'}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}