forked from ConnectSDK/Connect-SDK-Android-Core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (65 loc) · 1.72 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
72
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
//classpath 'org.robolectric:robolectric-gradle-plugin:0.14.+'
}
}
allprojects {
repositories {
jcenter()
}
}
apply plugin: 'android-library'
//apply plugin: 'robolectric'
android {
compileSdkVersion 21
buildToolsVersion '27.0.3'
packagingOptions {
exclude 'LICENSE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE'
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = [
'src',
'core/src',
'modules/google_cast/src'
]
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
androidTest {
java.srcDirs = [
'core/test/src',
'modules/google_cast/test/src'
]
}
}
buildTypes {
release {
minifyEnabled false
}
}
}
//robolectric {
// include '**/*Test.class'
//}
dependencies {
implementation files('libs/Java-WebSocket-1.3.7.jar')
//implementation project(':Java-WebSocket')
implementation files('libs/javax.jmdns_3.4.1-patch2.jar')
implementation 'com.android.support:support-v4:21.0.0'
implementation 'com.android.support:mediarouter-v7:21.0.0'
implementation 'com.android.support:appcompat-v7:21.0.0'
implementation 'com.google.android.gms:play-services-cast:7.8.0'
}