-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (55 loc) · 1.71 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 2
versionName "1.0.0-SNAPSHOT"
applicationId "nearby.connections"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
testOptions {
unitTests {
includeAndroidResources = true
}
unitTests.returnDefaultValues = true
}
packagingOptions {
exclude 'LICENSE.md'
exclude 'README.md'
}
}
def powerMockVersion = '1.6.4'
dependencies {
repositories {
mavenCentral()
google()
jcenter()
}
implementation 'com.android.support:support-v4:26.0.2'
implementation 'com.android.support:appcompat-v7:26.0.2'
compile 'com.google.android.gms:play-services-nearby:11.8.0'
// Espresso
//androidTestCompile('com.android.support.test.espresso:espresso-core:2.0')
//androidTestCompile('com.android.support.test:testing-support-lib:0.1')
testCompile "org.robolectric:robolectric:3.7.1"
// PowerMock
testCompile "org.powermock:powermock-module-junit4:$powerMockVersion"
testCompile "org.powermock:powermock-module-junit4-rule:$powerMockVersion"
testCompile "org.powermock:powermock-api-mockito:$powerMockVersion"
testCompile "org.powermock:powermock-classloading-xstream:$powerMockVersion"
compile ('io.socket:socket.io-client:0.8.3') {
exclude group: 'org.json', module: 'json'
}
}