-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
57 lines (47 loc) · 1.14 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
50
51
52
53
54
55
56
57
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
}
}
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven {
url "https://maven.google.com"
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion '26.0.1'
defaultConfig {
minSdkVersion 18
targetSdkVersion 26
versionCode 2
versionName "1.0.0-SNAPSHOT"
applicationId "com.example"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
packagingOptions {
exclude 'LICENSE.txt'
}
}
configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:26.0.1'
}
}
dependencies {
// Support v4
compile 'com.android.support:support-v4:26.1.0'
// Espresso
androidTestCompile 'com.android.support:support-annotations:26.1.0'
androidTestCompile 'com.android.support.test.espresso:espresso-contrib:3.0.1'
// Robolectric
testCompile 'junit:junit:4.12'
testCompile 'org.robolectric:robolectric:3.6.1'
}