forked from googlecodelabs/android-perf-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (43 loc) · 1.85 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.google.android.perftesting"
minSdkVersion 11
targetSdkVersion 22
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testHandleProfiling true
testFunctionalTest true
}
buildTypes {
debug {
debuggable true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
String supportLibVersion = "23.4.0"
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.support:appcompat-v7:${supportLibVersion}"
compile "com.android.support:recyclerview-v7:${supportLibVersion}"
compile "com.android.support:support-v4:${supportLibVersion}"
compile 'com.github.bumptech.glide:glide:3.6.1'
// TODO(developer): Comment in the following dependencies to enable Espresso and related libraries in this project.
// Force the use of a specific version of the annotations library because the app compile
// dependencies require this version transitively, but an androidTestCompile dependency
// requires a different version. See http://goo.gl/iH4WDq for more info.
// androidTestCompile "com.android.support:support-annotations:${supportLibVersion}"
// androidTestCompile 'com.android.support.test:runner:0.5'
// androidTestCompile 'com.android.support.test:rules:0.5'
// androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
}
// Create performance testing tasks for all connected Android devices using a Gradle plugin defined
// in the buildSrc directory.
// apply plugin: PerfTestTaskGeneratorPlugin