// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        butterKnifeVersion = '8.5.1'
        state_version = '1.1.0'
        lombokVersion = '1.12.6'
        supportVersion = "26.0.0-beta2"
//        supportVersion = "25.4.0"
        gms = "11.0.2"
        thirtyinchVersion = '0.8.0'
        retrofit = '2.3.0'
        junitVersion = '4.12'
        mockitoVersion = '1.10.19'
        assertjVersion = '2.5.0'
        espresseVersion = '2.2.2'
        requery = '1.3.2'
        kotlin_version = '1.1.3-2'
    }

    repositories {
        jcenter()
        maven { url 'https://maven.fabric.io/public' }
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0-alpha6'
        classpath 'com.google.gms:google-services:3.0.0'
        classpath 'com.novoda:gradle-build-properties-plugin:0.3'
        classpath 'com.dicedmelon.gradle:jacoco-android:0.1.1'
        classpath 'io.fabric.tools:gradle:1.22.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

allprojects {
    repositories {
        jcenter()
        google()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}