diff options
Diffstat (limited to 'android/WALT/app/build.gradle')
-rw-r--r-- | android/WALT/app/build.gradle | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/android/WALT/app/build.gradle b/android/WALT/app/build.gradle new file mode 100644 index 0000000..531142e --- /dev/null +++ b/android/WALT/app/build.gradle @@ -0,0 +1,50 @@ +apply plugin: 'com.android.model.application' + +model { + android { + compileSdkVersion 25 + buildToolsVersion "25.0.2" + + defaultConfig { + applicationId "org.chromium.latency.walt" + minSdkVersion.apiLevel 17 + targetSdkVersion.apiLevel 23 + versionCode 8 + versionName "0.1.7" + } + ndk { + moduleName "sync_clock_jni" + CFlags.addAll "-I${project.rootDir}/app/src/main/jni".toString(), "-g", "-DUSE_LIBLOG", "-Werror" + ldLibs.addAll "OpenSLES", "log" + } + buildTypes { + release { + minifyEnabled false + proguardFiles.add(file("proguard-rules.pro")) + } + debug { + ndk { + debuggable true + } + } + } + } +} + +dependencies { + compile 'com.android.support:appcompat-v7:25.1.0' + compile 'com.android.support:design:25.1.0' + compile 'com.android.support:preference-v7:25.1.0' + compile 'com.android.support:preference-v14:25.1.0' + compile 'com.github.PhilJay:MPAndroidChart:v3.0.1' + testCompile 'junit:junit:4.12' + testCompile 'org.mockito:mockito-core:1.10.19' + testCompile ('org.powermock:powermock-api-mockito:1.6.2') { + exclude module: 'hamcrest-core' + exclude module: 'objenesis' + } + testCompile ('org.powermock:powermock-module-junit4:1.6.2') { + exclude module: 'hamcrest-core' + exclude module: 'objenesis' + } +} |