forked from kaaes/spotify-web-api-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (35 loc) · 810 Bytes
/
build.gradle
File metadata and controls
44 lines (35 loc) · 810 Bytes
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: 'java'
apply plugin: 'jacoco'
jacoco {
version = "0.7.1.201405082137"
}
sourceCompatibility = 1.6
targetCompatibility = 1.6
version = '0.1.0'
repositories {
mavenCentral()
}
dependencies {
compile('com.squareup.retrofit:retrofit:1.9.0') {
transitive = true
}
compile('com.squareup.okhttp:okhttp:2.2.0') {
transitive = true
}
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.9.5'
}
test {
outputs.upToDateWhen {false}
}
jacocoTestReport {
reports {
html.destination "${buildDir}/reports/jacoco/html"
}
}
task jarAll(type: Jar) {
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
check.dependsOn jacocoTestReport