forked from klinker24/talon-twitter-holo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
138 lines (114 loc) · 3.67 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.13.3'
classpath 'org.robolectric:robolectric-gradle-plugin:0.13.2'
}
}
allprojects {
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
flatDir {
dirs 'lib'
}
}
}
apply plugin: 'com.android.application'
apply plugin: 'robolectric'
android {
packagingOptions {
exclude 'LICENSE'
exclude 'README.md'
exclude 'Other/'
exclude 'keystore.jks'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/DEPENDENCIES'
}
compileSdkVersion Integer.parseInt(project.TARGET_SDK)
buildToolsVersion project.BUILD_TOOLS_VERSION
defaultConfig {
applicationId "com.klinker.android.twitter"
minSdkVersion Integer.parseInt(project.MIN_SDK)
targetSdkVersion Integer.parseInt(project.TARGET_SDK)
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
testInstrumentationRunner "com.google.android.apps.common.testing.testrunner.GoogleInstrumentationTestRunner"
}
File keystore = new File("keystore")
if (keystore.exists()) {
signingConfigs {
release {
storeFile file("keystore")
storePassword project.RELEASE_KEY_SIGNATURE
keyAlias "talon"
keyPassword project.RELEASE_KEY_SIGNATURE
}
}
buildTypes {
release {
runProguard false
signingConfig signingConfigs.release
}
}
}
sourceSets {
androidTest {
setRoot('src/test')
}
}
lintOptions {
abortOnError false
}
aaptOptions {
noCompress 'apk'
}
}
robolectric {
include '**/*Test.class'
exclude '**/espresso/**/*.class'
}
dependencies {
wearApp project(':wear')
androidTestCompile 'org.hamcrest:hamcrest-integration:1.1',
'org.hamcrest:hamcrest-core:1.1',
'org.hamcrest:hamcrest-library:1.1'
androidTestCompile 'junit:junit:4.11'
androidTestCompile 'org.robolectric:robolectric:2.4-SNAPSHOT'
androidTestCompile 'com.squareup:fest-android:1.0.8'
androidTestCompile 'org.mockito:mockito-all:1.9.5'
provided 'org.projectlombok:lombok:1.14.8'
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
compile 'com.github.castorflex.smoothprogressbar:library:0.5.1'
compile 'com.github.chrisbanes.photoview:library:1.2.3'
compile 'de.timroes.android:EnhancedListView:0.3.2@aar'
compile 'org.lucasr.smoothie:smoothie:0.1.0'
compile 'com.klinkerapps:launcher-apis:1.1.0@aar'
compile 'com.google.android.apps.dashclock:dashclock-api:+'
compile 'com.nineoldandroids:library:2.4.0'
compile 'org.twitter4j:twitter4j-core:4.0.2'
compile 'org.twitter4j:twitter4j-stream:4.0.2'
compile 'com.android.support:support-v13:20.0.0'
compile 'com.google.android.gms:play-services:5.0.+'
compile 'com.google.android.support:wearable:1.0.0'
compile 'org.apache.httpcomponents:httpmime:4.3.5'
compile 'org.apache.httpcomponents:httpcore:4.3.2'
compile 'org.jsoup:jsoup:1.7.3'
compile files('lib/YouTubeAndroidPlayerApi.jar')
compile(name: 'datetimepicker', ext: 'aar')
compile(name: 'bitmap-cache', ext: 'aar')
compile(project(":shared_assets"))
}
apply plugin: 'idea'
idea {
module {
testOutputDir = file('build/test-classes/debug')
}
}