1 apply plugin: 'com.android.application' 2 3 dependencies { 4 implementation project(':percent') 5 } 6 7 android { 8 compileSdkVersion project.ext.currentSdk 9 10 defaultConfig { 11 minSdkVersion 14 12 targetSdkVersion project.ext.currentSdk 13 } 14 15 sourceSets { 16 main.manifest.srcFile 'AndroidManifest.xml' 17 main.java.srcDirs = ['src'] 18 main.res.srcDirs = ['res'] 19 } 20 21 lintOptions { 22 abortOnError true 23 check 'NewApi' 24 } 25 26 signingConfigs { 27 debug { 28 // Use a local debug keystore to avoid build server issues. 29 storeFile project.rootProject.init.debugKeystore 30 } 31 } 32 33 compileOptions { 34 sourceCompatibility JavaVersion.VERSION_1_8 35 targetCompatibility JavaVersion.VERSION_1_8 36 } 37 } 38 39