-
Notifications
You must be signed in to change notification settings - Fork 788
/
Copy pathbuild.gradle
44 lines (35 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
apply plugin: 'android-library'
dependencies {
compile 'com.nineoldandroids:library:2.4.0'
instrumentTestCompile ('org.mockito:mockito-core:1.9.5') { exclude group: 'org.hamcrest' }
instrumentTestCompile ('com.google.dexmaker:dexmaker-mockito:1.0') { exclude group: 'org.hamcrest' }
instrumentTestCompile ('junit:junit:4.11') { exclude group: 'org.hamcrest' }
instrumentTestCompile 'org.hamcrest:hamcrest-all:1.3'
}
android {
compileSdkVersion 19
buildToolsVersion '19.0.1'
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
instrumentTest.setRoot('tests')
instrumentTest {
java.srcDirs = ['tests/java']
}
}
defaultConfig {
minSdkVersion 8
targetSdkVersion 19
versionName project.VERSION_NAME
versionCode Integer.parseInt(new Date().format('yyyyMMddHH'))
}
packagingOptions {
exclude 'LICENSE.txt'
}
}
apply from: '../maven_push.gradle'