-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (48 loc) · 1.16 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
apply plugin: 'jacoco'
sourceCompatibility = 1.8
version = '1.0'
mainClassName = "com.tompierce.roomba.ServiceRunner"
jar {
manifest {
attributes 'Implementation-Title': 'Roomba Service',
'Implementation-Version': version,
'Main-Class': mainClassName
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.commons:commons-lang3:3.1'
compile 'com.sparkjava:spark-core:2.2'
compile 'com.google.code.gson:gson:1.7.2'
compile 'mysql:mysql-connector-java:5.1.38'
compile 'com.zaxxer:HikariCP:2.4.5'
testCompile group: 'junit', name: 'junit', version: '4.+'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'com.h2database:h2:1.4.191'
}
test {
testLogging {
events "passed", "skipped", "failed"
}}
jacocoTestReport {
reports {
xml.enabled = false
html.enabled = true
}
}
jacocoTestReport.dependsOn test
task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}