// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.1' classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } } task clean(type: Delete) { delete rootProject.buildDir } // Define versions in a single place ext { // Sdk and tools // Support library and architecture components support minSdk 14 and above. minSdkVersion = 14 targetSdkVersion = 27 compileSdkVersion = 27 buildToolsVersion = '26.0.2' // App dependencies supportLibraryVersion = '26.1.0' guavaVersion = '18.0' junitVersion = '4.12' mockitoVersion = '1.10.19' powerMockito = '1.6.2' hamcrestVersion = '1.3' runnerVersion = '1.0.1' rulesVersion = '1.0.1' espressoVersion = '3.0.1' roomVersion = "1.0.0" daggerVersion = '2.15' dexmakerVersion = '1.2' }