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

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.2'
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
        classpath 'com.nabilhachicha:android-native-dependencies:0.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
  repositories {
    jcenter()
    flatDir {
      dirs "${rootDir}/lib/jsr-305"
      dirs "${rootDir}/lib/soloader"
      dirs "${rootDir}/lib/appcompat"
      dirs "${rootDir}/lib/android-support"
    }
  }
}

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