1 apply plugin: 'com.android.model.application' 2 3 model { 4 android { 5 compileSdkVersion 25 6 buildToolsVersion "25.0.2" 7 8 defaultConfig { 9 applicationId "org.chromium.latency.walt" 10 minSdkVersion.apiLevel 17 11 targetSdkVersion.apiLevel 23 12 versionCode 8 13 versionName "0.1.7" 14 } 15 ndk { 16 moduleName "sync_clock_jni" 17 CFlags.addAll "-I${project.rootDir}/app/src/main/jni".toString(), "-g", "-DUSE_LIBLOG", "-Werror" 18 ldLibs.addAll "OpenSLES", "log" 19 } 20 buildTypes { 21 release { 22 minifyEnabled false 23 proguardFiles.add(file("proguard-rules.pro")) 24 } 25 debug { 26 ndk { 27 debuggable true 28 } 29 } 30 } 31 } 32 } 33 34 dependencies { 35 compile 'com.android.support:appcompat-v7:25.1.0' 36 compile 'com.android.support:design:25.1.0' 37 compile 'com.android.support:preference-v7:25.1.0' 38 compile 'com.android.support:preference-v14:25.1.0' 39 compile 'com.github.PhilJay:MPAndroidChart:v3.0.1' 40 testCompile 'junit:junit:4.12' 41 testCompile 'org.mockito:mockito-core:1.10.19' 42 testCompile ('org.powermock:powermock-api-mockito:1.6.2') { 43 exclude module: 'hamcrest-core' 44 exclude module: 'objenesis' 45 } 46 testCompile ('org.powermock:powermock-module-junit4:1.6.2') { 47 exclude module: 'hamcrest-core' 48 exclude module: 'objenesis' 49 } 50 } 51